0
What happens if we return 1 at the end of program
return1
4 Answers
0
It signals that the program produced an error with the error code 1.
0
Whr do we usually use it...
0
It's useful to tell what went wrong. For example you could return 1 if someone divided by zero in a program, this way you know why the error occured.
0
Gr8.. Tnx..