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

the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23740


Explain which function in c can be used to append a string to another string?

1086


What is include directive in c?

1149


Can you define which header file to include at compile time?

1020


How can I find out if there are characters available for reading?

1107


What is the purpose of void in c?

1065


Give the rules for variable declaration?

1172


Can main () be called recursively?

1115


Can we compile a program without main() function?

1118


Describe the steps to insert data into a singly linked list.

1067


How can this be legal c?

1083


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1815


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1854


Why malloc is faster than calloc?

1060


Is array name a pointer?

1026