The exit () function in C
the void exit (int status) function immediately terminates the calling process. any file opened by the process is closed and any child process is inherited by the initial process
the void exit (int status) function immediately terminates the calling process. any file opened by the process is closed and any child process is inherited by the initial process