Quote:
Originally Posted by roshan moodbidri
What are the uses of return 0, return 1
|
So that the function can provide information to whatever called it.
To exit the program...
Exiting with 0 should indicate that the program exited normally. A non-zero exit should indicate some sort of abnormal termination.
Evo2.