Home / Questions / What is exit() function in C?
Explanatory Question

What is exit() function in C?

👁 750 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

  • exit() function terminates the program/process normally and returns the status code to the parent program/process.
  • Syntax: void exit(int status)