万能百科  > 计算机   > 

[单项选择题] 已知: struct st int n; struct st *next; ; static struct st a[3]=1,&a

2021-07-20   

[单项选择题] 已知:

struct st

int n;

struct st *next;

static struct st a[3]=1,&a[1],3,&a[2],5,&a[0]),*p;

如果下述语句的显示是2,则对p的赋值是( )。

printf("%d",++(p->next->n));

A.p=&a[0];

B.p=&a[1];

C.p=&a[2];

D.p=&a[3];

正确答案:

C

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

标签