Автор | Сообщение |
CathyRoberson | |
Guys, I am having trouble trying to delete the last node in a linked list program. Here is my function but it does not work properly: void DeleteLastNode(Node *headPointer) { Node *delFirstNode; while(delFirstNode != NULL) { headPointer->next = headPointer->next->next; Could someone please fix this so it works please!
|