Posts by user67923 • 1 point
1 post
-
0
votes2
answers119
viewsA: Chained List C does not insert new node
Change the code to: void insere(node **LISTA, int val) { node *p1 = aloca(); node *p2; p1->num = val; p1->prox = NULL; if (*LISTA == NULL) { *LISTA = p1; }else { p2 = *LISTA; while…