网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

以下程序的输出结果是( )。 #define M(x,y,z)x*y+z main( ) { int a=l,b=2,c=3; printf("%d\n",m(a+b.b+c,c+a)); }

A.19

B.1 7

C.15

D.12


参考答案

更多 “ 以下程序的输出结果是( )。 #define M(x,y,z)x*y+z main( ) { int a=l,b=2,c=3; printf("%d\n",m(a+b.b+c,c+a)); }A.19B.1 7C.15D.12 ” 相关考题
考题 有以下程序: main() { int x=3, y=2, z=1; printf("% d\n", x/y~z); } 程序运行后的输出结果是______。A.3B.2C.-1D.0

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

考题 以下程序的输出结果是includevoid prt(int *x,int*y,int*z){ printf("%d,%d,%d\n",++* 以下程序的输出结果是 #include<stdio.h> void prt(int *x,int*y,int*z) { printf("%d,%d,%d\n",++*x,++*y,*(z++));} main() { int a=10,b=40,c=20; prt(a,b,c); prt(a,b,c);}A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,21D.11,41,21. 12,42,22

考题 以下程序的输出结果是______。includevoid prt(int*x,int*y,int*z){printf("%d,%d,%d\n 以下程序的输出结果是______。 #include<stdio.h> void prt(int*x,int*y,int*z) { printf("%d,%d,%d\n",++*x,++*y,*(z++));} int a=10,b=40,c=20; main() { prt(a,bc) prt(a,b,c); }A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,41D.11,41,21 12,42,22

考题 以下程序的输出结果是()。includevoid prt(int*x,int*y,int*z){printf("%d,%d,%d\n",++ 以下程序的输出结果是( )。 #include<stdio.h> void prt(int *x,int *y,int *z) { printf("%d,%d,%d\n",++ *x,++ *y,*(z++));} main() { int a=10,b=40,c=20; prt(a,b,c); prt(a,b,c); }A.11,42,31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,21D.11,41,21 12,42,22

考题 有以下程序: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

考题 以下程序的输出结果是()。includevoid prt(int *x,int *y,int *z){printf("%d,%d,%d\n" 以下程序的输出结果是( )。 #include<stdio.h> void prt(int *x,int *y,int *z) {printf("%d,%d,%d\n",++*x,++*y,*(z++));} main() {inta=10,b=40,c=20; prt(a,b,C); prt(a,b,C);}A.11,42,31 12,22,41B.11,41,20 1,42,20C.11,21,40 11,21,21D.11,41,21 12,42,22

考题 以下程序的输出结果是#include "stdio.h"int *fun(int *a,int *b){ int m; m=*a; m+=*b-3; return(m);}main(){ int x=21,y=35,*a=x,*b=y; int *k; k=fun(a,b); printf("%d\n",*k);}

考题 有以下程序: main() { int n=0,m=l,x=2; if(!n) x-=l: if(!m) x-=2; if(!x) x-=3; printf (" %d\n",x); } 执行后的输出结果是 ______。A.2B.1C.3D.6

考题 以下程序的输出结果是( )。define M(x,y,z)x*y+zmain( ){ int a=l,b=2,c=3;printf(%d\n%d\n,m(a+b.b+c,c+a));}A.19B.1 7C.15D.12