Terminate the program

When the flow of control returns to the main function from the goodbye function, there is nothing more for the main function to do.

At that point, the main function terminates, returning a value of 0 to the operating system in the process.

When the main function terminates, the program terminates.