Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is it acceptable to declare/define a variable in a c header?

1120


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); }

1434


What are the 5 data types?

1127


Can two or more operators such as and be combined in a single line of program code?

1369


Write a C program in Fibonacci series.

1091


Explain setjmp()?

1068


Can a local variable be volatile in c?

989


Can you please explain the difference between malloc() and calloc() function?

1122


What is getche() function?

1039


Was 2000 a leap year?

1049


What library is sizeof in c?

1087


Write a program of advanced Fibonacci series.

1148


Explain output of printf("Hello World"-'A'+'B'); ?

1494


Describe the difference between = and == symbols in c programming?

1371


What is c token?

1064