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

Answer Posted / amit

In GCC compiler 54321 is the correct answer.

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is wrong with this program statement?

616


Explain the difference between structs and unions in c?

572


What is meant by keywords in c?

611


Write program to remove duplicate in an array?

595


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1855






What is .obj file in c?

644


explain what are pointers?

615


What are the benefits of organizational structure?

566


Is c high or low level?

574


What is New modifiers?

663


What is the difference between struct and union in C?

567


What is the use of a ‘’ character?

582


What is a newline escape sequence?

663


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1722


How can I sort a linked list?

630