万能百科  > 所属分类  > 

若有以下程序段:struct st{int n;int*m;};int a=2,b=3,c=5;struct st s[3]=({101,&a},{10

若有以下程序段: struct st {int n; int*m;}; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&b}}; main() {struct st*p; p=s; …} 则以下表达式中值为5的是( )。

A.(p++)->m

B.*(p++)->m

C.(*p).m

D.*(++p)->m

正确答案:

D

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签