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


Please Help Members By Posting Answers For Below Questions

What are the applications of c language?

731


How can I read a binary data file properly?

711


given post order,in order construct the corresponding binary tree

2413


What is a void * in c?

719


What is 'bus error'?

743






What is the mean of function?

754


What is logical error?

712


Where define directive used?

693


Why is c called c?

708


Is stack a keyword in c?

725


What are logical errors and how does it differ from syntax errors?

753


What are the 32 keywords in c?

747


What should malloc(0) do?

712


What is the difference between typedef struct and struct?

714


Why does everyone say not to use gets?

704