A.10,20
B.10,10
C.20,20
D.20,10
[单选题]下列程序的输出结果是______。 int m=10; int fun(int a,int B) { int m=2; return(a*b-m); } main() { int x=7,y=5; printf("%d/n",fun(x,y)%m); }A.1B.2C.7D.3
[单选题]下述程序段的输出结果是 ( ) int x=10; int y=x+ +; printf("%d,%d",(x+ +,y),y+ +);A.11,10,B.11,11C.10,10D.10,11
[单选题]下列程序的输出结果是int b=2;int func(int *a){ b+=*a; return(b);}main(){ int a=2, res=2; res += func(&a); printf("%d\n",res);} A.2 B.4C.6 D.8
[单选题]下列程序的输出结果是 include int min(int a, int b) { if(a
[单选题]下列程序的输出结果是_____。int func(int a,int b){ return(a+b);} main(){ int x=2,y=5,z=8,r; r=func(func(x,y),z); printf("%/d/n",r);}A.12B.13C.14D.15
[单选题]下列程序段的输出结果是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.
[单选题]下列程序段的输出结果是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) {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
[单选题]若有以下定义和语句,则输出结果是______。int **pp,*p,a=10,b=20;pp=&p; p=&a; p=&b; printf("%d/n",*p,**pp);A.10,20B.10,10C.20,10D.20,20
[单选题]下列程序的输出结果是______。 main() { int i,k,a[10],p[3]; k=5; for (i=0;i<10;i++) a[i]=i for (i=0;i<3;i++) p[i]=a[i*(i+1)]; for (i=0;i<3;i++)k+=p[i]*2; printf("%d/n",k); }A.20B.21C.22D.23