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 methods in c?

1090


How would you rename a function in C?

1040


What is the code in while loop that returns the output of given code?

1989


Are pointers really faster than arrays?

1025


in linking some of os executables are linking name some of them

2129


what are # pragma staments?

2043


Why flag is used in c?

1131


What is structure pointer in c?

1052


What is the difference between declaring a variable and defining a variable?

1273


What is meant by inheritance?

1089


Does c have class?

1113


What are linker error?

1094


What is the difference between volatile and const volatile?

986


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

2359


I came across some code that puts a (void) cast before each call to printf. Why?

1218