Program startup and termination is facilitated by using two functions: main and exit. Other startup and termination code may be executed.