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 does c mean in basketball?
What are the types of functions in c?
What is the use of bitwise operator?
How #define works?
What are the application of void data type in c?
What is malloc calloc and realloc in c?
What are header files in c?
What are the advantages of c language?
What is methods in c?
What is the difference between typedef and #define?
What is getche() function?
What are conditional operators in C?
What is #ifdef ? What is its application?
What are qualifiers and modifiers c?
What do you understand by friend-functions? How are they used?