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 / anirban
if-statement is not properly declared
so error is there in the program
Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
Is it fine to write void main () or main () in c?
What is a const pointer?
What is file in c language?
Tell us something about keyword 'auto'.
What is ambagious result in C? explain with an example.
What is an auto variable in c?
what do u mean by Direct access files? then can u explain about Direct Access Files?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What are terms in math?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What does the format %10.2 mean when included in a printf statement?
Explain what is the difference between a free-standing and a hosted environment?
What are the 4 types of programming language?
What is difference between scanf and gets?
In C programming, what command or code can be used to determine if a number of odd or even?