title: What is the difference between struct node *head and struct node ** head?
body: <p>I am trying to sort a linked list. I'm confused about when to use <code>struct node*head</code> and when to use <code>struct node **head</code>, the implementation can be done using both of them.</p>
  
  <p>When should I use:</p>
  
  <pre><code>void sortedinsert(struct node **head)
  </code></pre>
  
  <p>and when should I use:</p>
  
  <pre><code>void sortedinsert(struct node *head)
  </code></pre>