示例#1
0
void Central(Apontador p)
{ if (p == NULL)
  return;
  Central(p->Esq);
  printf("%ld\n", p->Reg.Chave);
  Central(p->Dir);
} 
示例#2
0
void Central(Apontador p)
{ if (p == NULL)
  return;
  Central(p->Esq);
  printf("%s ", p->Reg.Chave);
  printf("- Ocorrencia: %d\n", p->ocorrencia);
  Central(p->Dir);
} 
示例#3
0
void Central(ApontaArvore P_Arv) {
    if (P_Arv == NULL) return;
    Central(P_Arv->Esq);
    printf("Letra: %c\nPeso: %d\n\n", P_Arv->Letra,P_Arv->Peso);
    Central(P_Arv->Dir);
}