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 / harinath

yes there can be
for example
main()
{
static int count=50;
printf("%d",count--);
while(count>0)
main();
}
here the output is numbers upto 1 then it comes out of it.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are global variables and explain how do you declare them?

1181


How can a process change an environment variable in its caller?

1235


What is sorting in c plus plus?

1025


Which is an example of a structural homology?

1376


What is ambagious result in C? explain with an example.

2695


How do I send escape sequences to control a terminal or other device?

1121


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1309


What are qualifiers?

1106


What are the c keywords?

1255


What is extern c used for?

1119


What is void main () in c?

1250


What is pointer & why it is used?

1172


Is there any possibility to create customized header file with c programming language?

1106


Why can’t we compare structures?

1323


List some basic data types in c?

1082