0
What does it mean by 'a non-zero value signals abnormal termination'?
2 ответов
+ 2
int main() is supposed to return 0. If it doesn't, it means that something went wrong
+ 1
You might want to check this link for the conventional usage of non-zero return values for main.
http://tldp.org/LDP/abs/html/exitcodes.html