title: function and linked list
body: <p>I am wondering why the linked list is still the same after calling this function. The head address is not reassigned to head -&gt; next? Is this call by reference since a pointer variable is passed to the function?</p>
  <pre><code>typedef struct list{int data; struct list *next;} list;
  void iterate_test(list* h)
      {h = h -&gt; next;}`
  </code></pre>