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 / sireesha
54321
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you define a string?
Write a program to reverse a given number in c?
What is structure packing in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
#include
Why & is used in c?
What is static and auto variables in c?
Write a program to print fibonacci series using recursion?
When should I declare a function?
Why functions are used in c?
What is the use of extern in c?
What is the difference between exit() and _exit() function?
What are bitwise shift operators in c programming?
Why C language is a procedural language?
I heard that you have to include stdio.h before calling printf. Why?