title: Order of assignment and comparison in an 'if' statement
body: <p>Looking at the code:</p>
  
  <pre><code>int i = 5;
  if (i = 0)
  {
    printf ("Got here\n");
  }
  </code></pre>
  
  <p>What does the C standard have to say about what will get printed? 
  Or in more general terms does the assignment happen first or the comparison?</p>