why the execution starts from main function

Answer Posted / rahat

main is a special inbuilt function which is used to start
the execution of the program,and the compiler searches for
this function to start the execution of the program.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is that possible to store 32768 in an int data type variable?

868


Where local variables are stored in c?

734


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

894


What is volatile keyword in c?

772


Explain how can I open a file so that other programs can update it at the same time?

856


What is memory leak in c?

840


Why do we use static in c?

816


What are header files and explain what are its uses in c programming?

829


What is difference between scanf and gets?

839


What is a structure and why it is used?

844


What is meant by preprocessor in c?

729


What is the mean of function?

847


What is the concatenation operator?

812


What is a program flowchart and how does it help in writing a program?

884


what is the syallabus of computer science students in group- 1?

2051