+ 2

What will happen if don't write return 0; at the end of c++ program?

13th Dec 2016, 1:54 AM
Sumit Singh
Sumit Singh - avatar
2 Antworten
+ 4
it will explode
13th Dec 2016, 4:34 AM
Ahri Fox
Ahri Fox - avatar
0
From what I understand of modern c++ compilers is that it is implied to return 0. So it should compile as it is simply understood to return 0.
13th Dec 2016, 2:55 AM
Gabe Maxfield
Gabe Maxfield - avatar