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...

what is the need for main function in c?

Answer Posted / sanjay bhosale

Every c program execution starts from startup procedure which internally calls exit(main({parameters here})).
so to start execution we need main() function in our program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you not use a type cast?

1072


What the different types of arrays in c?

1025


Once I have used freopen, how can I get the original stdout (or stdin) back?

1033


Explain 'bus error'?

1018


What is the use of linkage in c language?

1013


What is preprocessor with example?

1002


Between macros and functions,which is better to use and why?

2118


What is double pointer in c?

987


Difference between MAC vs. IP Addressing

1100


Why structure is used in c?

1116


What does 3 periods mean in texting?

1015


What do you mean by c what are the main characteristics of c language?

981


How can I get random integers in a certain range?

1019


What is #ifdef ? What is its application?

1057


What's the best way of making my program efficient?

1041