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 / kalyan chukka
Loop will Repeated 10 times .in this program main function
is called it self 10 times.So the loop will repeated 10 times
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Define and explain about ! Operator?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What are global variables?
What is c method?
Is c# a good language?
What is the difference between far and near in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Explain the difference between call by value and call by reference in c language?
all c language question
Explain heap and queue.
What is difference between far and near pointers?
What are identifiers in c?
Explain what is the difference between #include and #include 'file' ?
What is malloc() function?
Explain the advantages of using macro in c language?