[单项选择题] 若有以下程序段:
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
正确答案:D

[单项选择题] 若有以下程序段:
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
正确答案:D
上一篇 [填空题] 在窗体上画一个命令按钮Command1,然后编写如下程序: Private Sub Command1
下一篇 [单项选择题] 已知如下代码: boolean m=true; if(m==false) System.out.prinfln("False"); else S