Whether there can be main inside another main?If so how does
it work?
Answer Posted / arun
we can main() inside main() it will work as like as
recursive funtion and it would like a infinate loop
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Is it acceptable to declare/define a variable in a c header?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What are the 5 data types?
Can two or more operators such as and be combined in a single line of program code?
Write a C program in Fibonacci series.
Explain setjmp()?
Can a local variable be volatile in c?
Can you please explain the difference between malloc() and calloc() function?
What is getche() function?
Was 2000 a leap year?
What library is sizeof in c?
Write a program of advanced Fibonacci series.
Explain output of printf("Hello World"-'A'+'B'); ?
Describe the difference between = and == symbols in c programming?
What is c token?