End of the program
The end of the main function and the end of the program is shown in Listing 3.
Listing 3. End of the program.
//Block and wait until the user presses a key. readkey(); return 0;//Return 0 to indicate a successful run. }//end main function END_OF_MAIN()
Nothing new in Listing 3.