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

main is not included in any header file
It is generally the first user-written function run when a
program starts .
main() is a function called by another function, which is
the start-routine. This routine is created by the compiler .
If you can write your own compiler, then you can think of
changing main() to your name itself!
ANSI compliant compilers need main() as the starting point.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare function inside main?

1047


What are the advantages of c language?

1146


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)

1206


How many levels of indirection in pointers can you have in a single declaration?

1141


What is c value paradox explain?

1157


What is pointers in c with example?

1131


What is atoi and atof in c?

1130


What standard functions are available to manipulate strings?

1202


What are the types of pointers in c?

1078


Give differences between - new and malloc() , delete and free() ?

1149


what is the difference between 123 and 0123 in c?

1272


Write a program to swap two numbers without using a temporary variable?

1178


In C, What is the #line used for?

2317


How many levels deep can include files be nested?

1183


What is wrong with this declaration?

1154