void main()
{
static int i = 5;
if(--i)
{
main();
printf("%d
",i);
}
}

what would be output of the above program and justify your
answer?

}

Answer Posted / biren

we can't call a main function with in main.

Is This Answer Correct ?    7 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of fflush() function?

607


What are the various types of control structures in programming?

613


What is the use of getchar() function?

615


can any one provide me the notes of data structure for ignou cs-62 paper

1688


How will you write a code for accessing the length of an array without assigning it to another variable?

600






#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1529


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

690


What is a global variable in c?

577


Tell us something about keyword 'auto'.

647


What is the use of gets and puts?

586


What is an auto keyword in c?

629


What are comments and how do you insert it in a C program?

726


What type is sizeof?

572


What are # preprocessor operator in c?

612


What is boolean in c?

592