<<< split from Deleting nodes from a linked list >>>
Hello.I am new in C.I must write code for the game reversi(or othello).I have problem with the command UNDO.I want to delete only the last node of a simply linked list.I thought that what i must do is to go the prelast node,put there next=NULL; and then free the last node.However i have not managed to navigate through the list,because i get segmentation fault.
Thanks in advance
//This is my first post in this forum