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

how could explain about job profile

1456


What is difference between && and & in c?

600


Are enumerations really portable?

596


Is null valid for pointers to functions?

614


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2985






What is the total generic pointer type?

728


What is the purpose of macro in C language?

664


What is omp_num_threads?

586


Why is c called a mid-level programming language?

729


How can I split up a string into whitespace-separated fields?

572


What are global variables and how do you declare them?

622


while initialization of array why we use a[][2] why not a[2][]...?

1869


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1519


What is exit() function?

561


How to write a code for reverse of string without using string functions?

1581