单项选择题

下图所示的二叉树的先序遍历序列是( )。

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
单项选择题
有以下程序段: int m=0,n=0; char c='a'; scanf( %d%c%d ,&m,&c,&n); printf( %d,%c,%d n ,m,c,n); 若从键盘上输入10A10<回车>,则输出结果是( )。
A.10,A,10
B.10,a,10
C.10,a,0
D.10,A,0
相关试题
  • (48)~(50)以下程序的功能是:建立...
  • 有以下程序: struct STU{ char name...
  • D
  • A.p->nextB.pC.sD.s->next
  • A.*sB.SC.*s++D.(*++