matheus__serpa icon

q1

matheus__serpa | PRO | 06/30/20 08:39:20 PM UTC | 0 ⭐ | 1628 👁️ | Never ⏰ | []
C |

280 B

|

None

|

0 👍

/

0 👎

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);
        }
    }
}

Comments