Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- No* inverteLista(No* p){
- if(p.prox == NULL)
- return p;
- else{
- while(p->prox->prox != NULL){
- p = p->prox;
- }
- p->prox->prox = p;
- p->prox = NULL
- return inverteLista(No* p);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement