What is the difference between exit() and _exit() function?
Submitted by: AdministratorThe 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
- 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
Top C Pointers Questions
| ☺ | What would be the equivalent pointer expression for referring the array element a[i][j][k][l] |
| ☺ | Tell me with an example the self-referential structure? |
| ☺ | Explain what is the purpose of "extern" keyword in a function declaration? |
| ☺ | What is the difference between exit() and _exit() function? |
| ☺ | Do you know the use of fflush() function? |
Top C Programming Categories
| ☺ | C Functions Interview Questions. |
| ☺ | C Pointers Interview Questions. |
| ☺ | C Preprocessor Interview Questions. |
