exit() function is used to terminate the C program at any point.
-It is predefined in stlib or process header file.