The end of the program
Listing 7 shows the end of the main function.
Listing 7. The end of the program.
return 0; }//end main function //Required macro at end of main. END_OF_MAIN() |
When the main function returns, the program terminates.