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 / anuj awasthi
above the program output is = 54321
| Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
How do I get a null pointer in my programs?
When do we get logical errors?
What is the maximum no. of arguments that can be given in a command line in C.?
Explain what is wrong in this statement?
Is null equal to 0 in sql?
Explain the red-black trees?
What is the difference between the expression “++a” and “a++”?
Is using exit() the same as using return?
What is a floating point in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What are different types of variables in c?
Differentiate between declaring a variable and defining a variable?
What is wild pointer in c with example?