全站数据
8 4 2 0 5 8 1

二叉树的指针类型

盘州建筑 | 简单学习,快乐成才!         
问题更新日期:2024-11-10 10:30:17

问题描述

二叉树的指针类型求高手给解答
精选答案
最佳答案

先定义一个二叉树节点指针类型 typedef struct BiTree { int data; struct BiTree *left; struct BiTree *right; }*Bitree; typedef BiTree QElemType; 那么QElemType就是二叉树节点指针类型了。