C Language Interview Questions and Answers for Freshers - 9

Question: 41

What is exit() function in C?

exit() function terminates the program/process normally and returns the status code to the parent program/process.

Syntax: void exit(int status)

Related Questions