0

What if I type return 1 instead of return 0 in c++ after every function?

14th Aug 2019, 3:27 PM
Abhigyan Pandey
Abhigyan Pandey - avatar
6 Answers
+ 2
Its all up to you, presumably knowing how "you" handle that return value. Otherwise, try looking for why it is supposed to return 0 and crosscheck that it is not going to lead to problems.
14th Aug 2019, 3:56 PM
Naveen Maurya
Naveen Maurya - avatar
0
C++
14th Aug 2019, 3:50 PM
Abhigyan Pandey
Abhigyan Pandey - avatar
0
Function
14th Aug 2019, 3:51 PM
Abhigyan Pandey
Abhigyan Pandey - avatar