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
What are the 4 types of programming language?
What extern c means?
What’s the special use of UNIONS?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is a structure and why it is used?
What is the size of a union variable?
what is the format specifier for printing a pointer value?
What are header files? What are their uses?
What is the process of writing the null pointer?
Explain continue keyword in c
Write a Program to find whether the given number or string is palindrome.
What is wrong with this code?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
I need previous papers of CSC.......plz help out by posting them.......
What is array within structure?