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
What is your stream meaning?
Which is the memory area not included in C program? give the reason
What is f'n in math?
What is the value of c?
What is the difference between pure virtual function and virtual function?
What is difference between array and pointer in c?
What is an auto keyword in c?
Is c is a low level language?
What is the difference between void main and main in c?
Why double pointer is used in c?
Explain how do you view the path?
What is the difference between single charater constant and string constant?
Explain what does a function declared as pascal do differently?
4. main() { int c=- -2; printf("c=%d",c); }
What is the ANSI C Standard?