title: Effect of semicolon after 'for' loop
body: <p>Say I want to print a message in C five times using a <code>for</code> loop. Why is it that if I add a semicolon after for loop like this:</p>
  
  <pre><code>for (i=0;i&lt;5;i++);
  </code></pre>
  
  <p>the message does not get printed 5 times, but it does if I do not put the semicolon there?</p>