C Functions Question:
Download Job Interview Questions and Answers PDF
Do you know the difference between exit() and _exit() function in C?
Answer:
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().
- 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 Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell us the use of fflush() function in C Language? | What is function prototype in C Language? |