Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / govind
=> The main function serves as the starting point for
program execution.
=> It usually controls program execution by directing the
calls to other functions in the program.
=> A program usually stops executing at the end of main,
although it can terminate at other points in the program
for a variety of reasons.
=> At times, perhaps when a certain error is detected, you
may want to force the termination of a program. To do so,
use the exit function. See the Run-Time Library Reference
for information on and an example using the exit function.
so that
main() is a user defined function. it is the entry point of
any program.
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What are the applications of c language?
How can I read a binary data file properly?
given post order,in order construct the corresponding binary tree
What is a void * in c?
What is 'bus error'?
What is the mean of function?
What is logical error?
Where define directive used?
Why is c called c?
Is stack a keyword in c?
What are logical errors and how does it differ from syntax errors?
What are the 32 keywords in c?
What should malloc(0) do?
What is the difference between typedef struct and struct?
Why does everyone say not to use gets?