请读程序: #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,↓,则上面程序的输出络果是_______。
A.a=98,b=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
第1题:
请读程序: # include<stdio.h> int a[]={2,4,6,8}; main ( ) { int i; int * p=a; for(i=0;i<4;i + +)a[i]=* p + +; printf("%d\n”,a[2]); } 上面程序的输出结果是 ( )
A.6
B.8
C.4
D.2
第2题:
请读程序: #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=98,b=75,c=4321
B.a=10,b=432,c=8765
C.a=98,b=765.000000c=4321.000000
D.a=98,b=765.0,c=4321.000000
第3题:
请读程序: #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=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
第4题:
A.Source,VolumeControl,Speaker,Amp
B.Source,Amp,VolumeControl,Speaker
C.Amp,Source,VolumeControl,Speaker
D.Speaker,Amp,VolumeControl,Source
第5题:
请读程序: #include <stdio.h> int a[]={2,4,6,8,}; main() { int i; int *p=a; for( i=0;i<4;i++) a[i]=*p++; priatf("%d\n",a[2]); } 上面程序的输出结果是( )。
A.6
B.8
C.4
D.2