Can anyone tell me? What is the difference between exit(0) and exit(1) in C language?
exit(0)
exit(1)
exit() should always be called with an integer value and non-zero values are used as error codes.
See also: Use of exit() function