what is the difference between exit() and _exit() functions?
Answer Posted / 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 |
Post New Answer View All Answers
code for find determinent of amatrix
How can type-insensitive macros be created?
Why can arithmetic operations not be performed on void pointers?
How do you list files in a directory?
What is static volatile in c?
Do array subscripts always start with zero?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Is boolean a datatype in c?
Can you please explain the scope of static variables?
What are header files in c programming?
What are the 4 types of organizational structures?
What is data structure in c and its types?
Which is the memory area not included in C program? give the reason
What does nil mean in c?