第28781题 单选题
运行以下C++代码段,程序的输出结果是什么?
#include <iostream>
using namespace std;
int main() {
    char ch = 'a';
    ch -= 32;
    cout << static_cast<int>(ch) << "," << ch << endl;
    return 0;
}
A

65,A

B

97,a

C

32,A

D

65,a

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