[单选题]

下面程序的输出结果为( )。 struct st {int x;int *y;}*p; int dt[4]={10,20,30,40); struct st aa[4]={50,&dt[0],60,&dt[1],70,&dt[2],80,&dt[3]}; main() { p=aa; printf("%d/n",++p->x); printf("%d|n",(++p)->x); printf("%d/n",++(*p->y)); }

A.10 20 20

B.50 60 21

C.51 60 21

D.60 70 31

参考答案与解析:

相关试题

下面程序的输出结果为()。struct st {int x;int *y;}*p