What is the output of the below program and how it is?
void main()
{
static int var=5;
printf("%d",var--);
if(var)
main();
}
Answer Posted / arti yadav
error
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Whats s or c mean?
Explain the use of 'auto' keyword
Difference between strcpy() and memcpy() function?
What is calloc in c?
What does static variable mean in c?
program for reversing a selected line word by word when multiple lines are given without using strrev
Why void is used in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
Can I initialize unions?
How can you increase the size of a dynamically allocated array?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is main () in c language?
What are the disadvantages of c language?
What is #pragma statements?
Which is more efficient, a switch statement or an if else chain?