单选题
若有以下程序段:
struct dent
int n;
int *m;
;
int a=1,b=2,c=3;
struct dent s[3]=101,&a,102,&b,103,&c;
struct dent *p=s;
则以下表达式中值为2的是( )。
A.(p++)->m B.*(p++)->m
C.(*p).m D.*(++p)->m
A
B
C
D
【正确答案】
D
【答案解析】
提交答案
关闭