问题 单项选择题

若有一下程序段 int *ptr,x,y=11; ptr=&x; *ptr=10; x=*ptr+y; 执行该程序段后,x的值是 ______。

A.12

B.11

C.21

D.编译出错

答案

参考答案:D

多项选择题
单项选择题