1.exit() :
it's cleanup the work like closing file descriptor, file stream and so on,
2._exit() :
it's not cleanup the work like closing the file descriptor,file stream and so on
These are the major difference of exit() and _exit().
am i rectified ur answer