title: How to return information from the kth element of a linked list C++
body: <p>Lets say I have a linked list that consists of {12,25,46,27,57} and I choose k to be 4. I'm hoping for a way to iterate through the list and only print 27 as my output.</p>
  <p>I was also wondering how you would go about deleting a variable in the same fashion. So if I chose variable 3 from the list I would want the linked list to print as {12,25,27,57}.</p>