What is the output of below code?
main()
{
static in a=5;
printf("%3d",a--);
if(a)
main();
}
Answer Posted / moloy mondal
the output will be infinite no. of 5s ..bcoz integer a is
static its value wont b changed ever..
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What are file streams?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is the difference between pure virtual function and virtual function?
What are multibyte characters?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What are the two types of functions in c?
What are the 5 types of inheritance in c ++?
What are the 5 organizational structures?
What is strcmp in c?
What is a floating point in c?
Can you tell me how to check whether a linked list is circular?
What does a pointer variable always consist of?
How was c created?
How do I read the arrow keys? What about function keys?
Are there namespaces in c?