单选题:有下列程序: #include<stdi0.h>structst{intx,Y,date[2]={1,10,2,20}; 题目分类:C++ 题目类型:单选题 查看权限:VIP 题目内容: 有下列程序: #include<stdi0.h> structst {intx,Y,date[2]={1,10,2,20}; voidmain( ) {structst*p=date; printf("%d,",p->y);printf("%d\n",(++p) ->x); } 程序的运行结果是( )。 A.10,1 B.20,1 C.10,2 D.20,2 参考答案: 答案解析:
It was said that the meeting._________more than 4 hours. It was said that the meeting._________more than 4 hours. A.spent B.lasted C.open 分类:C++ 题型:单选题 查看答案
铝合金在军用装备上广泛地取代了钢,因为它能提供同样的防护而重量更轻。但是一辆铝合金装甲车的制造成本是钢装甲车的两倍。因此 铝合金在军用装备上广泛地取代了钢,因为它能提供同样的防护而重量更轻。但是一辆铝合金装甲车的制造成本是钢装甲车的两倍。因此,从财政的角度看,用具有同样防护性能的铝 分类:C++ 题型:单选题 查看答案
若执行下面的程序时,从键盘上输入5和2,则输出结果是( )。 #include(iostream.h)voidmain 若执行下面的程序时,从键盘上输入5和2,则输出结果是( )。 #include(iostream.h)voidmain( ) (inta,b,k; 分类:C++ 题型:单选题 查看答案
若MyClass是一个类名,其有如下语句序列: MyClassc1,*c2; MyClass*c3=newMyClass 若MyClass是一个类名,其有如下语句序列: MyClassc1,*c2; MyClass*c3=newMyClass; MyClass&c4=c1; 分类:C++ 题型:单选题 查看答案