Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void percorre(Nodo **a){
- Elementos e;
- Nodo *n;
- if(*a!= NULL){
- cria(&e);
- insere(&e, *a);
- while(vazia(&e) == 0){
- no = remove(&e);
- printf("%s ", n->a->n_c);
- if(n->a->e != NULL)
- insere(&e, n->a->e);
- if(n->a->d != NULL)
- insere(&e, n->a->d);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement