填空题

在一棵二叉树上第6层的结点个数最多是______个。

【参考答案】

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

单项选择题
有以下程序 #include <stdlib.h> gtruet NODE int num; struct NODE *next; ; main() struct NODE *p,*q,*r; p=(struct NODE*)malloc(sizeof (struct NODE)); q=(struct NODE*)malloc(sizeof (struct NODE)); r=(struct NODE*)malloc(sizeef (struct NODE)); p->num=10; q->num=20; r->num=30; p->next=q; q->next-r; printf( %d n ,p->num+q->next->num); 程序运行后的输出结果是
A.10
B.20
C.30
D.50
单项选择题
以下程序的输出结果是 f(int b[] ,int m, int n) int i,s=0; for (i=m; i<n; i=i+2) s=s+b [i]; return s; main ( ) int x,a[]=1,2,3,4,5,6,7,8,9; x=f(a,3,7); printf ( %d n , x);
A.10
B.18
C.8
D.15
相关试题
  • 以下程序运行后的输出结果是______。...
  • 以下程序中函数huiwen 的功能是检查一个字...
  • 以下程序运行后的输出结果是______。...
  • 以下程序运行后的输出结果是______。...
  • 设有如下定义 #define MYSWAP(z,x,y...