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
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Disadvantages of C language.
Can you pass an entire structure to functions?
What are header files? What are their uses?
What is variable and explain rules to declare variable in c?
How does pointer work in c?
What is the general form of a C program?
What is a protocol in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
Does c have circular shift operators?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is the value of c?
What’s the special use of UNIONS?
Is c a great language, or what?
which is conditional construct a) if statement b) switch statement c) while/for d) goto