单项选择题
有以下程序: main() { int a; char c=10; float f=100.0; double x; a=f/=c*=(x=6.5); printf("%d %d %3.1f %3.1f\n",a,c,f,x); } 程序运行后的输出结果是( )。
A.1 65 1 6.5
B.1 65 1.5 6.5
C.1 65 1.0 6.5
D.2 65 1.5 6.5
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下图所示的二叉树的先序遍历序列是( )。
A.ABDGCEHIF
B.DGBAHEICF
C.GDBHIEFCA
D.ABCDEFGHl
点击查看答案&解析
单项选择题
有以下程序: main() { char k; int i; for(i=1;i<3;i++) { scanf( %c ,&k); switch(k) { case '0': printf( another n ); case '1': printf( number n ); } } } 程序运行时,从键盘输入01<回车>,程序执行后的输出结果是( )。
A.another number
B.another number another
C.another number number
D.number number
点击查看答案&解析
相关试题
(48)~(50)以下程序的功能是:建立...
有以下程序: struct STU{ char name...
D
A.p->nextB.pC.sD.s->next
A.*sB.SC.*s++D.(*++