C++ void return type of main()

Viewed 10541

Some C++ compilers allow the main function to have return type void. But doesn't the Operating System require int type value returned to specify whether the program ended well or not?

8 Answers
Related