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 / hari
it will go into an infinite loop.
cheers !!!
for further queries and discussions, just check these out !!!
http://forum.campusmaniac.com/
http://www.campusmaniac.com/
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain 'bus error'?
What do you mean by dynamic memory allocation in c? What functions are used?
how is the examination pattern?
Can two or more operators such as and be combined in a single line of program code?
find the sum of two matrices and WAP for it.
Is void a keyword in c?
Why we use int main and void main?
What should malloc(0) do?
What is anagram in c?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What does != Mean in c?
What is the 'named constructor idiom'?
Write a program to generate the Fibinocci Series
What is the use of sizeof?
How can I find out the size of a file, prior to reading it in?