what is the difference between exit() and _exit() functions?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you tell whether a program was compiled using c versus c++?

576


What are structures and unions? State differencves between them.

614


What are the two types of structure?

570


How does #define work?

643


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1493






What is this pointer in c plus plus?

592


What is calloc in c?

658


Is anything faster than c?

581


Can variables be declared anywhere in c?

617


Explain the difference between exit() and _exit() function?

632


What are the rules for identifiers in c?

584


Can a pointer be null?

559


How can a number be converted to a string?

597


Write the control statements in C language

647


Are comments included during the compilation stage and placed in the EXE file as well?

669