title: Is this double pointer as head_reference?
body: <p>What is the use of node** head_ref ?This is a part of the code used to add an element inside a linked list. The original code had Node everywhere and I tried it with node as you all can see but it is not able to add any element in the list and the list is empty. Kindly tell the reason as why is it so.</p>
  <pre><code>void push(node** head_ref, int new_data){
  node* new_node=new node;
  new_node-&gt;data=new_data;
  new_node-&gt;next=(*head_ref);
  (*head_ref)=new node;
  }
  </code></pre>