第28122题 单选题
以下C++程序的运行输出结果是什么?
#include <iostream>
using namespace std;
int main() {
    int x = 2, y = 3;
    int res = x-- + ++y;
    cout << x << " " << y << " " << res << endl;
    return 0;
}
A

2 3 5

B

1 4 6

C

2 4 5

D

1 3 6

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析