以下程序的输出结果是main(){ int x=1,y=3;printf("%d,",x++);{ int x=0;x+=y*2;printf("%d,%d, ",x,y);}printf("%d,%d\n",x,y);}A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

以下程序的输出结果是

main()

{ int x=1,y=3;

printf("%d,",x++);

{ int x=0;x+=y*2;

printf("%d,%d, ",x,y);

}

printf("%d,%d\n",x,y);

}

A.1,6,3,1,3

B.1,6,3,6,3

C.1,6,3,2,3

D.1,7,3,2,3


相关考题:

下列程序的输出结果是______。main() { int x,y; for(x=1,y=1;x=5)break;if(y%3= 下列程序的输出结果是______。 main() { int x,y; for(x=1,y=1;x<=10;x++) {if(y>=5)break; if(y%3==1) }y+=3; continue; } y-=5; } printf("%d\n",x); }A.2B.3C.4D.5

以下程序的输出结果是 include void main( ) {int x=1,y=3; cout 以下程序的输出结果是#include<iostream.h>void main( ){int x=1,y=3;cout < < x++ < < ",";{int x=0;x+=y * 2;cout < < x < <"," < < y < <",";}cout < < x < < "," < < y;}A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

有以下程序 main() { int x=0,y=0,i; for(i=1;++i) { if(i%2==0) {x++;continue;} if(i%5==0){y++;break;}} printf("%d,%d",x,y);} 程序的输出结果是A.2,1B.2,2C.2,5D.5,2

以下程序的输出结果是includevoid main( ){int x=1,y=3;cout 以下程序的输出结果是 #include<iostream.h> void main( ) {int x=1,y=3; cout << x++ << ","; {int x=0;x+=y*2; cout <<X <<"," <<y << ","; } cout << x <<","<< y; }A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

有以下程序:includemain(){int x=3,y=2,z=1; printf("%d\n",x/y~z);程序运行后的 有以下程序: #include <stdio.h> main() { int x=3,y=2,z=1; printf("%d\n",x/y~z); 程序运行后的输出结果是( )。A.3B.2C.1D.0

有以下程序main( ){ int x=0,y=0,i;for(i=1;++i){ if(i%2==0){x++;continue;}if(i%5==0){y++;break;}}printf("%d,%d",x,y);}程序的输出结果是A.2,1B.2,2C.2,5D.5,2

有以下程序main(){ int x=3, y=2, z=1; printf("%d\n",x/y}程序运行后的输出结果是A.3 B.2 C.1 D.0

以下程序的输出结果是includevoid main(){int x=1,y=3; cout 以下程序的输出结果是 #include<iostream.h> void main() { int x=1,y=3; cout << x++ << " , "; { int x=0;X+=y*2; cout<<x<<" ,"<<y<<" ;"; } cout<<x<<" ,"<<y; }A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

以下程序的输出结果是() main() { int x=2,y=-1,z=2; if(x<y) if(y<0) z=0; else z+=1; printf(“%dn”,z); }A.3B.2C.1D.0