单选题
有以下程序,运行后的输出结果是( )。
main()
{ int a=7,b=8,*p,*q,*r;
p=&a;q=&b; r=p; p=q;q=r;
printf("/%d,/%d,/%d,/%d\n",*p,*q,a,b);
}
(A)8,7,8,7 (B)7,8,7,8 (C)8,7,7,8 (D)7,8,8,7
A
B
C
D
【正确答案】
C
【答案解析】
提交答案
关闭