0
Я не понял Что такое return 0
2 Answers
+ 6
"devvit (2) Technically, in C or C++ main function has to return a value because it is declared as "int main" which means "main function should returninteger data type" if main is declared like "void main", then there's no need ofreturn 0."
http://www.cplusplus.com/forum/beginner/24461/
"In C and C++ programs the main function is of type int and therefore it should return an integer value. The return value of the main function is considered the "Exit Status" of the application. On most operating systems returning 0 is a success status like saying "The program worked fine".
https://www.codeproject.com/Questions/693038/why-do-we-have-to-use-return
https://stackoverflow.com/questions/14928520/so-what-does-return-0-actually-mean
0
I do not understand