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
Explain what are the __date__ and __time__ preprocessor commands?
What are the advantages of using new operator as compared to the function malloc ()?
Explain what is the difference between functions getch() and getche()?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is modifier & how many types of modifiers available in c?
Define Spanning-Tree Protocol (STP)
What is #define?
Can we declare function inside main?
What does & mean in scanf?
How to establish connection with oracle database software from c language?
Is c compiled or interpreted?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What are the types of pointers in c?
Write a program to print fibonacci series without using recursion?
What are the types of arrays in c?