单项选择题

设有下列二叉树:


对此二叉树前序遍历的结果为

<上一题 目录 下一题>
热门 试题

单项选择题
若有说明char s1[30]= The city ,s2[]= is beautiful ;,则在使用函数strcat(s1,s2)后,结果是( )。
A.s1的内容更新为The city is beautiful\0
B.s1的内容更新为is beaut\0
C.s1的内容更新为The city\0is beautiful\0
D.s1的内容更新为The cityis beautiful\0
单项选择题
设已执行预编译命令#include<string.h>,以下程序段的输出结果是( )。 char s[]= an apple ; printf( %d n ,strlen(s));
A.7
B.8
C.9
D.10
相关试题
  • 请阅读以下程序: #include<stdio.h>...
  • 下面程序的运行结果是( )。 #include...
  • 主程序调用findmax函数求出数组中最大元素...
  • 下面程序的运行结果是( )。 #include...
  • 以下程序的输出结果是( )。 #include...