linked list implementation in C (debugging - incorrect output)
问题 I created this linked list program in C. It reads data in from a3data.txt (The contents of this text file are pasted after the output, below). In the text file, INSERT and REMOVE are commands. I want to be able to read the command INSERT, and insert the next integer (next line) into the list. The REMOVE command should remove the last node from the list. As you can see, my remove function is not working properly, and I don't understand why. Will someone please help me debug this? OUTPUT linux