Is main() is used in the program,,see below example?

void main()
{
int i;
for(i=0;i<10;i++)
main();
}

Then what is the output of the program?

Answer Posted / parvathi

it cgoes into infinite loop

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do we get logical errors?

633


What are derived data types in c?

605


What is null character in c?

684


What is array in C

702


Why is c platform dependent?

616






Tell us bitwise shift operators?

591


Can you add pointers together? Why would you?

636


Can one function call another?

622


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.

4487


Explain what does the function toupper() do?

629


Difference between macros and inline functions? Can a function be forced as inline?

702


What is the maximum length of an identifier?

658


Why is c known as a mother language?

740


Is c programming hard?

572


What are register variables in c?

571