+ 2
What the main function supposed to do?
6 Answers
+ 7
The main function is the function that is called when launching your program.
+ 1
as zen said which is absolutely right
+ 1
idk
0
I bbb
0
compiler starts execution from main()
0
When you run a program, the compiler looks down to the main function, and it accesses whatever it needs to run the main