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 |
whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
explain about storage of union elements.
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
Why is c still so popular?
why the execution starts from main function
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Describe dynamic data structure in c programming language?