单选题
已知:
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
【答案解析】
提交答案
关闭