若有定义:inta=5,*b=&a;,则printf("%d\n",*b);语句的输出结果为()。
A.随机值
B.a的地址
C.6
D.5
第1题:
若有定义:int x=0,*p=&x;则语句printf("%d\n",*p);的输出结果是( )。
A.随机值
B.0
C.x的地址
D.p的地址
第2题:
若定义:int a=511,*b=&a;则printf(“%d\n”,*b);的输出结果为
A.无确定值
B.a的地址
C.512
D.511
第3题:
若有定义语句“int a[5]={1,2,5};”则printf("%d",++a[3])的输出值是()。
第4题:
若定义:int a=511,*b=&a;则printf(“%d\n”,*B) ;的输出结果为
A.无确定值
B.a的地址
C.512
D.511
第5题:
若有定义:int x=0, *p=&x;, 则语句 printf("%d\n",*p);的输出结果是( )。
A.随机值
B.0
C.x 的地址
D.p的地址