0

Return 0

return 0; extremely required? Is it necessary to pile up the code? https://code.sololearn.com/c4GF4O7277oS/?ref=app

11th Nov 2018, 8:00 PM
Антон
Антон - avatar
6 odpowiedzi
11th Nov 2018, 8:03 PM
Roneel
Roneel - avatar
+ 1
I have not seen any program without "return 0;", so I ask.
11th Nov 2018, 8:23 PM
Антон
Антон - avatar
+ 1
That is, the code without return 0; will be completely correct?
11th Nov 2018, 8:36 PM
Антон
Антон - avatar
+ 1
Not completely correct, because compilers have to put that at the end. You can see what i shared you above😜
11th Nov 2018, 8:39 PM
Roneel
Roneel - avatar