typedef struct Node{ //二叉树的链式存储结点
char data;
struct Node *Lchild;
struct Node *Rchild;
}BiTNode,*BiTree;
void Statistics(BiTree T,char c,int &n)
{
if(T)
{
if(T->data == c)
n++;
if(T->Lchild!=NULL)
Statistics(T->Lchild,c,n);
if(T->Rchild!=NULL)
Statistics(T->Rchild,c,n);
}
}