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 is array?

63 Answers   Amdocs, HCL,


Suggesting that there can be 62 seconds in a minute?

0 Answers  


please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }

3 Answers  


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


Is c an object oriented programming language?

1 Answers  


Why cant I open a file by its explicit path?

0 Answers  


what are the facialities provided by you after the selection of the student.

0 Answers   TCS,


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


What is alloca() and why is its use discouraged?

1 Answers  


Define C in your own Language.

0 Answers   Motorola,


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

0 Answers  


Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???

2 Answers   TCS,


Categories