What is the difference between exit() and _exit() function?

Submitted by: Administrator
The following are the differences between exit() and _exit() functions:

- 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().
Submitted by: Administrator

Read Online C Pointers Job Interview Questions And Answers