C Functions Question:

Can you please explain the difference between exit() and _exit() function?

Tweet Share WhatsApp

Answer:

► Io buffers are flushed by exit() and executes some functions those are registered by atexit().
► _exit() ends the process without invoking the functions which are registered by atexit().

Download C Functions PDF Read All 45 C Functions Questions
Previous QuestionNext Question
What is _exit() function?Explain bitwise shift operators?