best answer > What is the difference between int and void?- QuesHub | Better Than Quora
  • What is the difference between int and void?

    情况下 差异 参数

    Questioner:Alexander Thompson 2023-05-05 14:09:45
The most authoritative answer in 2024
  • Ethan Allen——Works at the International Committee of the Red Cross, Lives in Geneva, Switzerland.

    So the difference is, in C, int main() can be called with any number of arguments, but int main(void) can only be called without any argument. Although it doesn't make any difference most of the times, using --int main(void)-- is a recommended practice in C.read more >>
    +119962023-05-11 14:09:45

About “情况下、差异、参数”,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.

分享到

取消