单选题:有下列程序: #include<stdi0.h>structord{intx,y;}dt[2]={1,2,3,4}; v

  • 题目分类:C++
  • 题目类型:单选题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
有下列程序:
#include<stdi0.h>
structord
{intx,y;}dt[2]={1,2,3,4};
voidmain(  )
{structord*p=dt;
printf("%d,",++P->x);printf("%d,",++P
->y);
}
程序的运行结果是(  ). A.1,2
B.2,3
C.3,4
D.4,1

参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析:

下列选项中,能用作数据常量的是(  )。

下列选项中,能用作数据常量的是(  )。 A.o115 B.o118 C.1.5e1.5 D.115L

查看答案

Some European cities have become more expensive probably be

Some European cities have become more expensive probably because______. A.busin

查看答案

What can we learn about the peach—tasting group in the last

What can we learn about the peach—tasting group in the last paragraph?A.They we

查看答案

根据下列材料,请回答题THIS is the biggest ever Chinese painting(绘画)show

根据下列材料,请回答题THIS is the biggest ever Chinese painting(绘画)show to be held in Lond

查看答案

某二叉树有5个度为2的结点,则该二叉树中的叶子结点数是(  )。

某二叉树有5个度为2的结点,则该二叉树中的叶子结点数是(  )。 A.10 B.8 C.6 D.4

查看答案