+ 2
Return 0; terminates the main. If I write return 200; to terminate the main. The program is still working. Is return constant.
3 Antworten
+ 11
What you return to the operating system doesn't really matter towards the program flow. Return 0 basically signals the OS that the program has executed and ended successfully. Returning other values signal that the program ended abnormally.
0
thanks