Saturday, 13 April 2019

The short answer, is because the C++ standard requires main() to return int . As you probably know, the return value from the main() function is used by the runtime library as the exit code for the process. Both Unix and Win32 support the concept of a (small) integer returned from a process after it has finished.

No comments:

Post a Comment

Linux

 Software(s/w) ----------- software - set of programs Program - set of coding  or instruction or commands Coding - How to execute our applic...