Insert a Node at the Tail of a Linked List

  • + 0 comments

    You are making changes in head only, which is wrong. Take any other pointer & copy head into it & then proceed,rest your code seems absolutely fine.