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 c# a good language?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
What is echo in c programming?
What is property type c?
What is non linear data structure in c?
What do you understand by friend-functions? How are they used?
What does c mean in standard form?
Explain what are binary trees?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is && in c programming?
How many levels of indirection in pointers can you have in a single declaration?
provide an example of the Group by clause, when would you use this clause
Why doesnt long int work?
How does free() know explain how much memory to release?