Write a C function to delete a node from a linked list.
Answers
Answered by
2
Delete a node in linked list in C
So, the steps to be followed for deletion of the node 'B' from the linked list A → B → C are as follows:
Create a temporary pointer to the node 'B'.
Connect node 'A' to 'B'.
Free the node 'B'.
hope it will help u
So, the steps to be followed for deletion of the node 'B' from the linked list A → B → C are as follows:
Create a temporary pointer to the node 'B'.
Connect node 'A' to 'B'.
Free the node 'B'.
hope it will help u
Similar questions