Hey Guys! I was just trying to implement linked lists. I have implemented it successfully but got some problems after getting it successfully compiled. The problem arises when you add two or more elements in the list and try to remove all one-by-one. Th problem arises here is that program removes all the element of the list one-by-one BUT leaves one element. I don't know why??
Please help in figuring it out where I done mistake.