&(*T)->firstchild 這個&(*T) 也看不懂,求解釋,這個是2叉樹的相關函數,只是部分代碼而已typedef struct CSNode{int data;struct CSNode Pfyrstchild,*nextsibling;}CSNode,*CSTree;int intTree(CSTree *T){*T=NULL;return 1;}void DestroyTree(CSTree *T){if(*T){if((*T)->firstchild)DestroyTree(&(*T)->firstchild);if((*T)->nextsibling)DestroyTree(&(*T)->nextsibling)free(*T);*T=NULL;}}
- 2 回答
- 0 關注
- 150 瀏覽
添加回答
舉報
0/150
提交
取消