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

Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


What is double pointer?

0 Answers  


What are dangling pointers?

1 Answers  


What is ambagious result in C? explain with an example.

0 Answers   Infosys,


What are the general description for loop statement and available loop types in c?

0 Answers  


What does static mean in c?

1 Answers  


difference between memcpy and strcpy

1 Answers  


program in c to print 1 to 100 without using loop

9 Answers   Wipro,


Should a function contain a return statement if it does not return a value?

0 Answers  


what is meant by flushll() in c programming?

1 Answers  


What is the Lvalue and Rvalue?

2 Answers  


Explain bitwise shift operators?

0 Answers  


Categories