(Richard Carr) When a program exits, it is common to return an integer value to indicate the closing state. If the program closed normally, this value is generally zero. Other values usually provide error codes that allow the caller to identify problems.
Read More - Register for Free Membership
