当前位置:
找题吧
>
计算机等级
二级C语言程序设计
[单选题]
有以下程序:
#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 ",(++p)->x);
}
程序运行的结果是( )。
A.10,1
B.20,1
C.10,2
D.20,2
参考答案与解析:
相关试题