New course! Every coder should learn Generative AI!
Try a free lesson0
What is the use of retirn 0;
1 Answer
+ 1
It is to tell the caller of the program (your OS in most cases) that the program ran successfully so that caller can take necessary steps in case of success and error