hi friend,
its ok if u know the start of the node.
but only you know the end node and now u delete it.
thanks for comunication.
wrote:
> hi
> start traversing the node
> see if the nodes it points to has the same address as the one you have
> if it isnt then goto the next node and continue this process
> if u find the address:
> 1> set the prev node's( where u are right now) next parameter to null
> before go to the next node and make a copy..
> after that do step no 1 and free the copied node.
> sangram wrote:
> > how to delete last node of a Linked list if you only know the address
> > of last node.
> >
> > thanks
> > sangram