Whenever the exit function is called, the whole program terminates. This is like returning in the main function.
exit;
c