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?

Answers were Sorted based on User's Feedback



what is the need for main function in c?..

Answer / inamdar

every program execution is starts from the main()
function.compiler starts execution from main()
function.by default it returns integer value.

Is This Answer Correct ?    9 Yes 2 No

what is the need for main function in c?..

Answer / kartik

The main() function represenrs starting of the program.When
ever we write main in program the system analyse starts from
tthere

Is This Answer Correct ?    4 Yes 0 No

what is the need for main function in c?..

Answer / musharaf ali

every program start from the main function whatever main is defined anywhere in program.

Is This Answer Correct ?    1 Yes 0 No

what is the need for main function in c?..

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

what is the need for main function in c?..

Answer / shafi shaik

Every Programing Language the program Compilation Starts
with main(). Becase The main() os a Driver function.


Exam any application(valclator , ms-word etc) to clicking
the mouse the application internally execute the
application through the dos prompt

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

What is the purpose of the statement: strcat (S2, S1)?

0 Answers  


what is void pointer?

1 Answers   Wipro,


What are the loops in c?

0 Answers  


What is data structure in c language?

0 Answers  


State the difference between x3 and x[3].

0 Answers   Aricent,


What is volatile c?

0 Answers  


What is the difference between volatile and const volatile?

0 Answers  


WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?

6 Answers   Finite Infotech, Lovely Professional University, Wipro,


What is the Lvalue and Rvalue?

2 Answers  


what is an inline fuction??

2 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,


how the compiler treats any volatile variable?Explain with example.

1 Answers   Tata Elxsi,


Categories