0
Return 1 no warning?
i dont get a warning when executing a program returning 1 in main...?
2 Answers
+ 3
main returns int, so you can return any int from main.
The value is returned to your OS.
On Linux you can see it by executing "echo $?" after executing your program.
+ 2
in codeplayground?