第31139题 单选题
以下C++代码执行后,控制台的输出结果是?
#include <cstdio>
int main() {
    char str[] = "hello_world";
    char *p = str;
    p += 6;
    printf("%s", p - 2);
    return 0;
}
A

o_world

B

world

C

llo_world

D

编译报错

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