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 / anuj awasthi
above the program output is = 54321
Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Do character constants represent numerical values?
What is a scope resolution operator in c?
What is calloc in c?
how do you execute a c program in unix.
What is variables in c?
What is double pointer?
Why do we use return in c?
What is storage class?
Explain the difference between getch() and getche() in c?
Array is an lvalue or not?
Explain can static variables be declared in a header file?
a c code by using memory allocation for add ,multiply of sprase matrixes
What is d scanf?
What is meant by type casting?