以下程序运行后的输出结果是【 】。 include <stdio.h> fun(int x) { if(x/2>0) fun
以下程序运行后的输出结果是【 】。 include <stdio.h> fun(int x) { if(x/2>0) fun(x/2); printf("%d",x); } main() { fun(6); }
以下程序运行后的输出结果是【 】。 include <stdio.h> fun(int x) { if(x/2>0) fun(x/2); printf("%d",x); } main() { fun(6); }
第1题
以下程序运行后的输出结果是【 】。 include <stdio.h> main () { iht x=0210; printf("%x \n" ,x); }
第2题
以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b) printf ("yes\n); else printf ("no\n); }
第3题
以下程序运行后的输出结果是【 】。 fun(iht x) { if(x/2>0) fun(x/2); printf("%d",x); } main() { fun(6); }
第4题
有以下程序 main(){ inti=0; i=-i; printf(%d\n,i);) 程序运行后的输出结果是
A.0
B.1
C.8
D.0.1
第5题
以下程序运行后的输出结果是【 】。 main() { int a=l,b=3,c=5; if(C=a+b)printf("yes\n"); else printf("no\n"); }
第6题
以下程序运行后的输出结果是【 】。 main() { char a[]="Language",b[]="Pragrame"; char *p1,*p2; int k; p1=a; p2=b; for(k=0;k<=7;k++) if(*(p1+k)==*(p2+k)) printf("%c",*(p1+k)); }
第7题
有以下程序 main(){ inti=l; i=i^i; printf(%d\n,1);} 程序运行后的输出结果是
A.-1
B.0
C.1
D.7
第8题
以下程序运行后的输出结果是【 】。 main() { int p=30; printf("%dkn",(p/3>0?p/10:p%3)); }
第9题
以下程序运行后的输出结果是【 】。 main() { int x==15; while(x>10 && x<50) { x++; if(x/3){x++;break;} else continue; } printf("%d\n",x); }
第10题
以下程序运行后的输出结果是【 】。 include <stdio, h> main() char c1 ,c2; for(el = 0, c2 =9; e1<c2; c1 + + , c2 -- ) printf(" %c%c", c1, c2 ); printf("\n" ); }
第11题
以下程序运行后的输出结果是【 】。 define S(x)4*x*x+1 mah() { int i=6,j=8; printf("%d\n",S(i+j)); }