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


why we shiuld use main keyword in C

Answers were Sorted based on User's Feedback



why we shiuld use main keyword in C..

Answer / siddiqui mohd. faisal

main is a keyword which tells the compiler that actual
program starts from here.

Is This Answer Correct ?    16 Yes 8 No

why we shiuld use main keyword in C..

Answer / nirmal kumar tailor

main() is the important part of the programe.

main() defines scope of the programe and all working in
this scop means execute the programe in between this block

all programe execution with the main() function.

Is This Answer Correct ?    8 Yes 1 No

why we shiuld use main keyword in C..

Answer / shireesha

It invokes the other functions defined in the program.
It provides the starting address for the funtion.

Is This Answer Correct ?    8 Yes 3 No

why we shiuld use main keyword in C..

Answer / gg

Every C program should have at least one function.main() is
special function, from here the actual execution of the
program starts. main() is one which calls all other
functions and helps to do their job.The functions may from
library or user defined.

Is This Answer Correct ?    4 Yes 2 No

why we shiuld use main keyword in C..

Answer / raj

main() is the enty point of all the application ,and is the
special function because it is invoked by the OS
routines,through this function we can call any function.So
every application must contain main() function.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More C Interview Questions

In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

0 Answers  


What is a lookup table in c?

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


Which header file should you include if you are to develop a function which can accept variable number of arguments?

0 Answers   TCS, TISL,


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

0 Answers  


Is an array parameter is always "by reference" ?

1 Answers  


What is typedef struct in c?

0 Answers  


what is event driven software and what is procedural driven software?

0 Answers  


Explain what is dynamic data structure?

0 Answers  


how the size of an integer is decided? - is it based on processor or compiler or OS?

19 Answers   HCL, JPR, Microsoft, nvidia,


helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe

2 Answers  


Explain pointer. What are function pointers in C?

0 Answers   HCL,


Categories