Is this a question from your assignment??? Anyway, deleting a pointer(node) from a linked list without reconnecting it would cause you to lose all of the data which connect after the deleted node. As a result, memory leak would happen. There is a way to know that by traversing through the list. If you get an error (the next node is not null or end with null), you found the missing node.
Taywin
Posting Virtuoso
1,727 posts since Apr 2010
Reputation Points: 229
Solved Threads: 239