单选题
有以下程序:
#include<stdio.h>
struct st
{int x,y;)data[2]={1,10,2,20};
main()
{ struct st *p=data;
printf("%d,",p->y); printf("%d/n",(++p)->x);
}
程序的运行结果是______。
A、
10,1
B、
20,1
C、
10,2
D、
20,2
【正确答案】
C
【答案解析】
提交答案
关闭