#include <stdio.h> #include <stdlib.h> typedef struct node /*节点定义*/ { char data; struct node *linkleft, *linkright; }NODE, *NODEP; NODEP create() { NODEP p; char ch; if((ch=getchar())=='#') p=NULL; else { p=(NODE *)malloc(sizeof(NODE)); p->data=ch; p->linkleft=create(); p->linkright=create(); } return p; } void main() { NODEP root=create(); printf("%c\t",root->linkleft->data); } lo##ng### o 请按任意键继续. . .