网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
有以下程序:程序的运行结果是( )。
A.10,1
B.20,1
C.10,2
D.20,2
参考答案
更多 “ 有以下程序:程序的运行结果是( )。A.10,1B.20,1C.10,2D.20,2 ” 相关考题
考题
有下列程序:#includestdi0.hstructst{intx,Y,date[2]={1,10,2,20};voidmain( ){structst*p=date;printf(%d,,p-y);printf(%d\n,(++p)-x);}程序的运行结果是( )。A.10,1B.20,1C.10,2D.20,2
考题
有以下程序main() { int a,b,d=5; a=d*10%8; b=a(-1); printf("%d,%d\n",a,b);}程序运行后的输出结果是A.10,1 B.2,1 C.10,0 D.2,0
考题
有以下程序 include struct st { int x,y;} data[2]={1,10,2,20}; main(
有以下程序 #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,1B.20,1C.10,2D.20,2
考题
有以下程序: 程序运行后的输出结果是( )。 A.3,3,3B.2,2,3C.1,2,3
有以下程序:程序运行后的输出结果是( )。A.3,3,3B.2,2,3C.1,2,3D.1,l,3
考题
有下列程序: #includestdi0.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,1B.20,1C.10,2D.20,2
热门标签
最新试卷