Posts by Pedro Leandro • 1 point
2 posts
-
-2
votes2
answers4088
viewsA: How to concatenate two chained lists?
Lista* concatList(Lista* a, Lista* b){ Lista* temp = b; while(temp != NULL){ a = inserirFim(a, temp->item); temp = temp->prox; } return a; } …
c++answered Pedro Leandro 1 -
-2
votes2
answers3307
viewsA: Concatenating two linked lists into C
Lista* concatList(Lista* a, Lista* b){ Lista* temp = a; while(temp != NULL){ b = inserirFim(b, temp->item); temp = temp->prox; } return b; } …