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 |
Differentiate between the expression “++a” and “a++”?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
write a program to remove duplicate from an ordered char array? in c
what are brk, sbrk?
How do we open a binary file in Read/Write mode in C?
application attempts to perform an operation?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is the default value of local and global variables in c?
Add 2 64 bit numbers on a 32 bit machine
3 Answers EMC, Hyderabad Central University, NetApp,
What are local variables c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
write a program to print the all 4digits numbers & whose squares must me even numbers?