Is there any specification? Is it mandatory?
4/27/2021 5:52:47 PM
This is status code which means that the code executed successfully.
the return statement is used to terminate a function. The main function should return value 0, it means EXIT_SUCCESS, and otherwise returns -1, meaning EXIT_FAILIURE
It is not really mendatory
If even if you dont put return 0, still code will execute sucesfully unless you dont make any error in the code.
Send us a message