Its a user defined function. How can it be inbuilt
function? We are the one who writes the main function.
Program execution starts with main function. We can also
compile a code without main, but we cant create exe, since
it requires a main function to execute.
it is built in function because (main )codings are written
by the software developer.so,we cant change anything in
this built in function.but user defined functions are
changed by us.
so it is built in function
=> The main function serves as the starting point for
=> 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.
main() is a user defined function. it is the entry point of