best answer > Why do we use return 0 in C 2024?- QuesHub | Better Than Quora
  • Why do we use return 0 in C 2024?

    C return return

    Questioner:Charlotte Clark 2023-05-05 05:47:30
The most authoritative answer in 2024
  • Madison Patel——Studied at the University of Delhi, Lives in Delhi, India.

    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 >>
    +119962023-05-05 05:47:30

About “C、return、return”,people ask:

READ MORE:

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.

分享到

取消