Hi there. This is my first post, so please be gentle :-)
I have a little program which creates a linked list. Adding to the list isn't a problem, but deleting the first node is. And I don't know why this code doesn't work.
If you like, I can post the entire codeCode:void DeleteFirst (node** head) { node* current; current = *head; if (current = NULL) { printf("\nThe List is empty\n"); } else { *head = current->next; free(current); } }