单项选择题

设树T的度为4,其中度为1,2,3,4的结点个数分别为4,2,1,1。则T中的叶子结点数为 ( )

A.8
B.7
C.5
D.5
<上一题 目录 下一题>
热门 试题

单项选择题
若有如下程序; main() char a[][9]= china , Japan , USA , France ; printf( '%s ' n ,a[2]); 则程序运行后的输出结果是 ( )
A.'Japan'
B.'USA'
C.USA
D.'inaJapanUSAFrance'
单项选择题
函数调用 strcat(strcpy(str1,str2),str3) 的功能是 ( )
A.将申str1拷贝到串str2中后再连接到申str3之后
B.将串str1连接到中str2之后再拷贝到串str3之后
C.将串str2拷贝到串str1中后再将串str3连接到串str1之后
D.将串str2连接到串str1之后再将串str1拷贝到串str3中
相关试题
  • 以下程序的输出结果是 ( ) # includ...
  • 有以下程序 #include<stdio.h> void...
  • 有如下程序 #include<stdio.h> main...
  • 有以下程序: int fa(int x) return...
  • 若题中各变量已正确定义并赋值,下面符合C...