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 is constant pointer?
What is the use of typedef in structure in c?
Tell us something about keyword 'auto'.
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
Differentiate between #include<...> and #include '...'
why we shiuld use main keyword in C
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
How to find the usage of memory in a c program
Define and explain about ! Operator?
Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...
How #define works?
What is sizeof return in c?