Whether there can be main inside another main?If so how does
it work?
Answer Posted / gprabha
#include<stdio.h>
void main()
{
printf("main()");
main();
getch();
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Explain what are global variables and explain how do you declare them?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What language is windows 1.0 written?
What are derived data types in c?
Explain how can I avoid the abort, retry, fail messages?
Why is event driven programming or procedural programming, better within specific scenario?
What are c preprocessors?
Was 2000 a leap year?
What are pointers? What are different types of pointers?
How do you override a defined macro?
Should a function contain a return statement if it does not return a value?
What are the valid places to have keyword “break”?
I came across some code that puts a (void) cast before each call to printf. Why?
Define Array of pointers.