title: Why an expression instead of a constant, in a C for-loop's conditional?
body: <p>In many programming competitions I have seen people write this type of <code>for</code>-loop</p>
  
  <pre><code>for(i = 0; i &lt; (1 &lt;&lt; 7); i++)
  </code></pre>
  
  <p>Unless I am missing something, that's the same as</p>
  
  <pre><code>for(i = 0; i &lt; 128; i++)
  </code></pre>
  
  <p>Why use the <code>(1 &lt;&lt; 7)</code> version?
  <br>Isn't calculating the condition every time an unnecessary overhead?</p>