Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More C Interview Questions

What are the primitive data types in c?

0 Answers  


what is the difference between NULL('\0') and 0?

14 Answers   Microsoft,


What is a pointer in c?

3 Answers  


What are pointers really good for, anyway?

0 Answers  


What is the Purpose of 'extern' keyword in a function declaration?

0 Answers  


Explain what happens if you free a pointer twice?

0 Answers  


What is the size of structure pointer in c?

0 Answers  


Explain the difference between struct and union.

2 Answers  


Difference between linking and loading?

0 Answers  


what is d pitfalls of registers variables

3 Answers   TCS,


What are structural members?

0 Answers  


What are comments and how do you insert it in a C program?

0 Answers  


Categories