0
what is the purpose of using main() ?
3 ответов
+ 2
main is entry point for your program.
system call your main function to start execution.
0
when the program is being executed , after loading all the libraries and macros, the main funtion will be called implicitly inorder to start the execution.
0
the starting point of program execution is from main. It is built like that. Hence main it is mandatory to include main.