I am trying to get my head around linked lists. But not got a clue why my code isnt updating the p_head of list. It looks like within the function its returning the right information. But when the display list is executed again it uses the old information. Cant figure out why at all tried all sorts.
Thanks for the reply wild blue. Yes, I made a massive school boy error but I guess thats the joys of learning. I eventually got to that function was returning a value but I didnt update the head of the linked list.