单项选择题

某二叉树中有n个度为2的结点,则该二叉树中的叶子结点数为【 】。

A.n+l
B.n-1
C.2n
D.n/2
<上一题 目录 下一题>
热门 试题

单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct   { int red;    int green;    int blue;   } COLOR;      COLOR cl;
B.struct color cl   { int red;   int green;    int blue;   }
C.struct color   { int red;   int green;   int blue;   } cl;
D.struct   { int red;    int green;    int blue;   } cl;
单项选择题
若有定义int x=0,*p=&x;,则语句printf( %d n ,*p);的输出结果是【 】。
A.随机值
B.0
C.x的地址
D.p的地址
相关试题
  • 有以下程序:#include <string.h>stru...
  • 有以下程序main(int argc,char *argv...
  • 有以下程序:main( ){ int x[ ]=...
  • 有以下程序:struct STU{ char name[...
  • 数据库DB、数据库系统DBS、数据库管理系统D...