设有以下语句:struct st{int n; struct st *next;};static struct st a[3]={5,&a[1],7,&a[2],9,.\0.},*p;p=&a[0];则值为6的表达式是( )
A.p++->n
B.p->n++
C.(*p)n++
D.++p->n

答案是:

D
出自  国家开放大学  >  国家开放大学程序设计基础

更多答案联系客服:19139051760
本题添加时间:2024/7/3 19:19:00