选择题
以下程序的结果是
。
#include<iostream.h>
void main()
{char * p='abcdefgh',*r;
long *q;
q=(long*)P;
q++;
r=(char*)q;
cout<<r<<endl;
A、
defg
B、
cdef
C、
ghab
D、
efgh
【正确答案】
D
【答案解析】
提交答案
关闭