自增与自减

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

阅读程序,填写对应的输出结果

int i = 0, j = 0;
i++;
++j;
cout << i << ' ' << j << endl;
cout << ++i << ' ' << j++ << endl;
cout << i << ' ' << j << endl;
cout << i-- << ' ' << --j << endl;
cout << i << ' ' << j << endl; 

第一次输出:{{ input(1) }}
第二次输出:{{ input(2) }}
第三次输出:{{ input(3) }}
第四次输出:{{ input(4) }}
第五次输出:{{ input(5) }}

六年级作业

未参加
状态
已结束
规则
乐多
题目
14
开始于
2026-10-21 17:15
结束于
2026-10-29 5:15
持续时间
180 小时
主持人
参赛人数
22