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

which header file contains main() function in c?

Answer Posted / tejas

main is the only function which is called from outside of the program. the code for invoking the main function is written inside something called as a "startup code". this startup code contains the prototype of main function. the main function is "called" from within this startup code which then is linked by linker to its definition created by the programmer. The linker, as we know, is responsible for linking object code to lib code. Along with these two codes, it also links startup code to create the executable file.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is header file in c?

1072


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?

1263


What is spaghetti programming?

1139


What are the salient features of c languages?

1101


what is a constant pointer in C

1182


What are the rules for the identifier?

1169


Where are the auto variables stored?

1153


Are c and c++ the same?

1057


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

1076


When would you use a pointer to a function?

1047


How many loops are there in c?

1115


What is the Purpose of 'extern' keyword in a function declaration?

1084


Compare and contrast compilers from interpreters.

1119


What is meant by high-order and low-order bytes?

1051


What is %d used for?

1042