对不!!?1

2025-04-14 21:25:16
推荐回答(1个)
回答1:

因为你定义了int main()
所以要有反回值return 0;
return 0表是程序正常结束,非0表是不正常结束
一般如上面回答的可以写void main()不要反回值