有以下程序:程序的运行结果是( )。A.10,1B.20,1C.10,2D.20,2
有以下程序:程序的运行结果是( )。
A.10,1
B.20,1
C.10,2
D.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
有下列程序: #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