A.1243
B.1212
C.1234
D.2112
[单选题]下列程序段的输出结果是______。 void fun(int *x,int *y) {printf("%d%d",*x,*y);*x=3;*y=4;} main() { int x=1,y=2; fun(&y,&x); printf("%d%d",x,y); }A.2 1 4 3B.1 2 1 2C.1 2 3 4D.2 1 1 2
[单选题]下列程序段的输出结果是includevoid fun(int*x,int*y){cout<<*x<<*y;*X=3;*y=4;}vo下列程序段的输出结果是 #include<iostream.h> void fun(int*x,int*y) {cout<<*x<<*y; *X=3; *y=4; } void main() {int x=1,y=2; fun(&y,&x); cout<<X<<y<<endl; }A.2143B.1212C.1234D.2112
[主观题]以下程序运行后的输出结果是void fun(int x,int y){ x=x+y;y=x-y;x=x-y; printf("%d,%d,",x,y);}main(){ int x=2,y=3; fun(x,y); printf("%d,%d/n",x,y);}
[单选题]下列程序的输出结果是( )。 void f(int *x, int *y) { int t; t=*x,*x=*y;*y=t; } main( ) {int a [8]={ 1,2,3,4,5,6,7,8},i,*p,*q; p=a;q=&a[7]; while(p<q) { f(p,q); p++; q--;} for (i=0;i<8;i+) printf("%d,",a [i]); }A.8,2,3,4,5,6,7,1B.5,6,7,8,1,2,3,4C.1,2,3,4,5,6
[单选题]下列程序的输出结果是( )。 void f(int *x, int *y) { int t; t=*x,*x=*y;*y=t; } main( ) { int a[8]={1,2,3,4,5,6,7,8},i,*p,*q; p=a;q=&a[7]; while(p<q) { f(p,q); p+ +; q--;} for (i=0;i<8;i+) printf("%d,",a[i]); }A.8,2,3,4,5,6,7,1B.5,6,7,8,1,2,3,4C.1,2,3,4,5,6,
[单选题]下列程序的输出结果是( )。void f(int*x,int*y){int t;t=*x,*x=*y;*y=t;}main(){int a[8]={1,2,3,4,5,6,7,8},i,*p,*q;p=a;q=&a[7];while(p<q){f(p,q);p++;q--;}for(i=0;i<8;i+)printf("%d,",a[i]);}A.8,2,3,4,5,6,7,1B.5,6,7,8,1,2,3,4C.1,2,3,4,5,6,7,8D.8,7,6,5,4,3,2,1
[单选题]以下程序的输出结果是______。 fun(int x,int y,int z) {z=x*x+y*y;} main() { int a=31; fun(5,2,a); printf("%d",a); }A.0B.29C.31D.无定值
[单选题]以下程序的输出结果是 ( ) fun (int x,int y, int z) { z=x * x+y * y;} main( ) { int a=31; fun(5,2,a); print{("%d",a); }A.0B.29C.31D.无定值
[单选题]以下程序的输出结果是______。 fun(int x, int Y, int z) { z=x*x+y*y;} main() { int a=31; fun(5, 2, a); printf("% d", a); }A.0B.29C.31D.无定值
[单选题]下列程序段的输出结果是includevoid fun(int * x,int * y){cout<<* X<<* y; *X=3;下列程序段的输出结果是 #include<iostream.h> void fun(int * x,int * y) { cout << * X << * y; *X=3; *y=4; } void main() { int x=1,y=2; fun(&y,&x); cout << X << y<<endl; {A.2143B.1212C.1234D.