cppforever.com

Function main()

Role: Entry point of almost every C++ program.

main() is a special function, which describes the interface between main() and the OS

Who calls main(): the startup code inserted by the compiler

The value returned from main() is given to the operating system.

Names like Main(), MAIN(), or mane() are different identifiers and will not be recognized.