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 / arti yadav
error
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is int main () in c?
how to execute a program using if else condition and the output should enter number and the number is odd only...
Are local variables initialized to zero by default in c?
Write a program in c to replace any vowel in a string with z?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Explain how can you determine the size of an allocated portion of memory?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
diff between exptected result and requirement?
What is the purpose of the statement: strcat (S2, S1)?
Write a c program to demonstrate character and string constants?
How do we make a global variable accessible across files? Explain the extern keyword?
what is use of malloc and calloc?
What is null pointer constant?
what are enumerations in C