A.4, 3, 7
B.3, 4, 7
C.5, 2, 7
D.2, 5, 7
[单选题]有以下程序int f1(int x, int y){ return x>y? x:y;}int f2(int x, int y){ return x>y? y:x;}main(){ int a=4,b=3,c=5,d,e,f; d=f1(a,B) ;d=f1(d,C) ; e=f2(a,B) ;e=f2(e,C) ; f=a+b+c-d-e; cout<<d<<", "<<f<<", "<<e<<end1;}执行后输出结果是A.3,4,5B.5,3,4C.5,4,3D.3,5,4
[单选题]有以下程序: int f1(int x,int y) { return x>y?x:y; } int f2(int x,int y) { return x>y?y:x; } main() { int a=4,b=3,c=5,d,e,f; d=fl(a,b);d=f1(d,c); e=f2(a,b);e=f2(e,c); f=a+b+c-d-e; printf("%d,%d,%d/n",d,f,e); } 执行后输出结果是( )。A.3,4,5B.5,3,4C.5,4,3D.3,5,4
[单选题]有以下程序A: int f1(int x,int y) { return x>y?x:y; } int f2(int x,int y) { return x>y?y:x; ) main() { int a=4,b=3,c=5,d=2,e,f,g; e=f2(f1(a,B),f1(c,D));f=f1(f2(a,B),f2(c,D)); g=a+b+c+d-e-f; printf("%d,%d,%d/n",e,f,g); } 程序运行后的输出结果是( )。A.4,3,7B.3,4,7C.5,2
[单选题]有以下程序int f1(int x,int y){ return x>y? x:y;}int f2(int x,int y){ return x>y? y:x;}main( ){ int a=4,b=3,c=5,d,e,f;d=f1(a,b);d=f1(d,c);e=f2(a,b);e=f2(e,c);f=a+b+c-d-e;cout<<d<<","<<f<<","<<e<<endl;}执行后输出结果是A.3,4,5B.5,3,4C.5,4,3D.3,5,4
[单选题]有以下程序 int f1 (int x,inty){return x>y?x:y;} int f2(int x,int y){return x>y?y:x;} main() { int a=4,b=3,c=5,d=2,e,f,g; e=f2(f1(a,b),f1(c,d));f=f1(f2(a,b),f2(c,d)); g=a+b+c+d-e-f; pintf("%d,%d,%d/n",e,f,g); } 程序运行后的输出结果是 ______。A.4,3,7B.3,4,7C.52,7D.2,
[单选题]int*f(int*x,int*y) { if(*x>*y) return x; else return y; } main() { int a=7,b=8,*p,*q,*r; p=&a;q=&b;r=f(p,q); printf("%d,%d,%d",*p,*q,*r); }执行后输出结果是______。A.7,8,8B.7,8,7C.8,7,7D.8,7,8
[单选题]有以下程序: int*f(int*x,int*y) { if(*<*y)return x; else return y; } main() { int a=7,b=8,*p,*q,*r; p=&a;q=&b; r=f(p,q); printf("%d,%d,%d/n",*p,*q,*r); } 程序运行后输出结果是______。A.7,8,8B.7,8,7C.8,7,7D.8,7,8
[单选题]有以下程序: main( ) int f1 (int x, int y) { return x>y?x:y; } int f2 (int x, int y) { return x>y?y:x; } main( ) { int a=4,b=3,c=5,d,e,f; d=f1(a,b); d=f1(d,c); e=f2(a,b); e=f2(e,c); f=a+b+c-d-e; printf("%d,%d,%d/n",d,f,e); } 执行后输出的结果是A.3,4,5B.5,3,4C.5,4,
[单选题]有以下程序fun(int x, int y){ return (x+y); }main(){ int a=1, b=2, c=3, sum;sum=fun((a++,b++,a+b),c++);printf("%d/n",sum);}执行后的输出结果是A.)6B.)7C.)8D.)9
[单选题]下列程序的输出结果是( )。 int f1(int x,int y){return x>y?x:y;} int f2(int x,int y){return x>y?y:x;} main() {int a=4,b=3,c=5,d=2,e,f,g; e=f2(f1(a,b),f1(c,d)); f=f1(f2(a,b),f2(c,d)); g=a+b+c+d-e-f printf("%d,%d,%d/n",e,f,g); }A.while循环执行10次B.循环是无限循环C.循环体语句一次也不执