title: Remove an item from a linked list
body: <pre><code>struct node{
      int number;
      node *next;
      };
  ...
  node* pOne;
  node* pEnd;
  // create node temp 
  if( pOne==NULL)            // add temp in list
      pOne = temp;
      pEnd = temp;
  else { 
      pEnd-&gt;next = temp;
      pEnd = temp;
  } 
  </code></pre>
  
  <p>What to do if I want to delete an item from the list?
  Is that adjacent elements change pointers to the following is clear.
  how to remove an item from memory?</p>
  
  <p>When it will not link it collects garbage collector?</p>