-
What does return 0 mean?
函数
状态 程序
Questioner:Zoe Allen 2023-05-05 14:09:51
The most authoritative answer in 2024
-

-
Harper Adams——Studied at the University of Oxford, Lives in Oxford, UK.
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".
read more >>
About “函数、状态、程序”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.