第27897题 单选题
分析以下C++代码段,程序的运行输出结果是?
#include <cstdio>
int main() {
    char str[] = "hello";
    char *p = str;
    *(p + 1) -= 32;
    printf("%s", str);
    return 0;
}
A

hello

B

hEllo

C

hELLO

D

HeLLO

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