Posts by AROM • 45 points
2 posts
-
2
votes2
answers65
viewsQ: Segmentation Fault when removing list occurrences
The following code aims to remove all occurrences of an integer in a list, (linked lists), returning at the end, the number of elements removed. Give me the error of Segmentation fault. I appreciate…
-
2
votes3
answers100
viewsQ: Printf does not print inside the while
the purpose of the code is to print the values of linked lists. Example of what the list looks like: L->[3]->[4]->[5]->X, should print 3, 4, 5. However. typedef struct lligada { int…