Tech Talk about C++ and C Issues / Comeau C++ and C FAQ
What about returning from main()? Semantically, returning from main is as if the program called exit (found in in C++ and in C) with the same value that was specified in the return statement. One way to think about this is that the startup code which ca...