请读程序:#include <stdio. h>main(){ int a; float b, c; scanf ("% 2d% 3%/4f",&a,&b,&c); printf("/na=%d, b=%f, c=%f/n", a, b, c);} 若运行时从键盘上输入9876543210,则上面程序的输出结果是______。
A.a=9b=765, c=4321
B.a=10,b=432,c=8765
C.a=98,b=765.000000,c=4321.000000
D.a=98,b=765.0,c=4321.0
[单选题]请读程序:includemain(){ int a;float b,c; scanf("%2d%3t%4f",&a,&b,&c); printf("/na请读程序:include<stdio.h>main(){ int a;float b,c; scanf("%2d%3t%4f",&a,&b,&c); printf("/na=%d,b=%f,c=%f/n",a,b,c);}若运行时从键盘上输入(图片),则上面程序的输出结果是______。A.a=98,b=765,c=4321B.a
[单选题]请读程序:includemain(){int a;float b,c;scanf("%2d%3f%4f",&a,&b,&c) ;请读程序: #include<stdio.h> main() { int a;float b,c; scanf("%2d%3f%4f",&a,&b,&c) ; printf("/na=%d,b=%f,c=%f/n",a,b,c) ; } 若运行时从键盘上输入9876543210,↓,则上面程序的输出络果是___
[单选题]请读程序:includemain(){int a;float b,c;scanf("%2d%3f%4f",&a,&b,&c);p请读程序: #include<stdio.h> main() { int a;float b,c; scanf("%2d%3f%4f",&a,&b,&c); printf("/na=%d,b=%f,c=%f/n",a,b,c) } 若运行时从键盘上输入987643210则上面程序的输出结果是______。A.a
[单选题]请读程序: include main( ) { int n[2],i,j,k; { for(i=0,i<2;i £« £« )n[i]=0;请读程序: # include<srdio.h> main( ) { int n[2],i,j,k; { for(i=0,i<2;i + + )n[i]=0; k=2; for(i=0;i<k;i+ +) {for(j=0;j<k;j+ +)n[j]=n[i]+l; print{("%d/n",n[k]); } 上面程序片段输出结果是 ( )A.不确定
[单选题]请读程序: include void fun(int * s) { static int j=0; do s[j]£«=s[j£«1]请读程序: # include<stdio.h> void fun(int * s) { static int j=0; do s[j]+=s[j+1] while( + + j<2); } main( ) { int k,a[10]={l,2,3,4,5}; for(k=l;k<3;k+ +)fun(a); for(k=0;k<5;k++)prinf("%d
[单选题]请读程序:#include f(int b[],int n){int i,r;r=1;for(i=0;i<=n;i++)r=r*b[i];return r;}main(){int x,a[]={2,3,4,5,6,7,8,9};x=f(a,3);printf("%d/n",x);}上面程序的输出结果是()A . 720B . 120C . 24D . 6
[单选题]有程序 include main( ) { int a,b,c=246; a=c£¯100%9; b=(£)& &(£有程序 # include<stdio.h> main( ) { int a,b,c=246; a=c/100%9; b=(-)& &(-1); printf("%d,%d/n%,a,b); } 输出结果是 ( )A.2,1B.3,2C.4,3D.2,-1
[单选题]请读程序:includefunc(int a, int b){int c; c=a£«b; return c;}main(){int x=6,y=7,z=请读程序: #include <stdio.h> func(int a, int b) { int c; c=a+b; return c; } main() { int x=6,y=7,z=8,r; r=func((x--,y++,x+y),z--); printf("%d/n",r); 上面程序的输出结果是( )。A.11B.20C.21
[单选题]请读程序:includefunc(int a,int b) { int c; c=a£«b; return c;}main(){ int x=6,y=7,请读程序: #include<stdio.h> func(int a,int b) { int c; c=a+b; return c; } main(){ int x=6,y=7,z=8,r, r=func((x-,y++,x+y),z-); printf("%d/n",r); } 上面程序的输出结果是_______。A.11B.20C.2
[单选题]有以下程序 include main() { int a=1, b=2, c=3, x; x=(a^b)&c; pri有以下程序 #include <stdio.h> main() { int a=1, b=2, c=3, x; x=(a^b)&c; printf("%d/n",x); } 程序的运行结果是A.0B.1C.2D.3