In main function of C++ if you define the prototype of main as void main(void) then what value does the program returns to OS.
If it returns nothing then how OS will know whether the program executed succesfully or not