Showing Error Segmentation fault [closed]

Deleting the last node of a linked list is a special case, you need special code to handle it.

Leave a Comment