![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
请教:2011年3月计算机等级考试二级C语言真题(标准参考答案版第1大题第37小题如何解答?
【题目描述】
(37)有以下程序
#include <stdio.h>
struct ord
{ int x,y;}dt[2]={1,2,3,4};
main()
{
struct ord *p=dt;
printf("%d,",++(p->x)); printf("%d\n",++(p->y));
}
程序运行后的输出结果是
A)1,2
B)4,1
C)3,4
D)2,3
【我提交的答案】: C |
【参考答案与解析】: 正确答案:D |
【我的疑问】(如下,请求专家帮助解答)
请分析
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)