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

main()
{
main();
}

This code snippet will result in infinite loop.

Is This Answer Correct ?    43 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope and lifetime of a variable in c?

1036


If I have a char * variable pointing to the name of a function ..

1158


Explain what is the benefit of using an enum rather than a #define constant?

1205


What is queue in c?

1086


What is double pointer in c?

1027


Why clrscr is used after variable declaration?

1668


Are local variables initialized to zero by default in c?

1031


how is the examination pattern?

2004


Explain how can I convert a string to a number?

1076


What is 2 d array in c?

1010


How we can insert comments in a c program?

1109


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

1137


What is integer constants?

1061


Why we not create function inside function.

2176


Can one function call another?

1100