自增与自减
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
阅读程序,填写对应的输出结果
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) }}