Posts by Marco Cunha • 1 point
1 post
-
-1
votes2
answers6045
viewsA: How can I invert a simple chained list without using a previous pointer
void inverter_lista(struct no **lista) { struct no* nova_lista = NULL; struct no* tmp; int i; while (*lista != NULL) { tmp = *lista; *lista =…