void foundtree(BiTree *root) { char x; *root=(BiTree)malloc(sizeof(BiTreeNode)); scanf("%c",&x);if(x=='#'){ (*root)=NULL;}else{(*root)->data=x;foundtree(&(*root)->lchild);foundtree(&(*root)->rchild);
}
你输入什么了?截图看看