Whether there can be main inside another main?If so how does
it work?
Answer Posted / vara
there will be no error but the output will go in infinite
loop
main()
{
int a=2,b=3;
a=a+b;
b=a-b;
a=a-b;
printf("%d",&a);
printf("%d",&b);
main();
getch();
}
Is This Answer Correct ? | 19 Yes | 5 No |
Post New Answer View All Answers
What is an endless loop?
How do you redirect a standard stream?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Tell us something about keyword 'auto'.
How does free() know explain how much memory to release?
Explain Basic concepts of C language?
What is extern keyword in c?
What is dynamic dispatch in c++?
Is it possible to execute code even after the program exits the main() function?
write a program to concatenation the string using switch case?
How pointer is different from array?
How many bytes are occupied by near, far and huge pointers (dos)?
What does c mean?
What are the ways to a null pointer can use in c programming language?