First page Back Continue Last page Graphics
return 0;
Returns to the calling program, in this case the operating system, a value for the main function of 0 indicating successful completion of the program.
If you discovered an error earlier in the program, you can return -1 or some other number there.