Quote Originally Posted by Salem View Post
You only need ONE variable for your list.

You're confusing yourself with all that first, second, third stuff.
[code]
In this case

Code:
int main (void ) {
   struct node *head = NULL;  
  
head = newNode(10, head);
head = newNode(20, head);
head = newNode(30, head);
show(head);
     
    return 0;
}
What are the steps to delete the node in list I want to make a function that can delete any node