30

单选题 30 /101

下面程序运行后的结果为:
char str[] = "glad to test something";
char *p = str;
p++;
int *p1 = reinterpret_cast<int *>(p);
p1++;
p = reinterpret_cast<char *>(p1);  
printf("result is %s\n", p);

参考答案

result is glad to test something
result is ad to test something
result is test something
result is to test something