Posts by tonho • 13 points
1 post
-
1
votes2
answers37
viewsQ: Problem deleting from recursion list
I’m trying to use this function to remove from the list, but it runs endlessly. void rDeleta(lista* l, int elemento) { if(l!= NULL) { if(l->elem == elemento) { lista* aux = l; l = l->prox;…