what is the difference between exit() and _exit() functions?
Answers were Sorted based on User's Feedback
Answer / vin
The exit() and _exit() both are the same except that the
exit() perform flushing of I/O buffer before terminating
while _exit() does not perform.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / bajishareef
exit() perform the termination operation, but before that it closes all files and flushes the I/O buffers.
_exit() just terminates the program
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the primitive data types in c?
what is the difference between NULL('\0') and 0?
What is a pointer in c?
What are pointers really good for, anyway?
What is the Purpose of 'extern' keyword in a function declaration?
Explain what happens if you free a pointer twice?
What is the size of structure pointer in c?
Explain the difference between struct and union.
Difference between linking and loading?
what is d pitfalls of registers variables
What are structural members?
What are comments and how do you insert it in a C program?