title: Why can the condition of a for-loop be left empty?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/13146830/no-loop-condition-in-for-and-while-loop">No loop condition in for and while loop</a>  </p>
  </blockquote>
  
  
  
  <p>Why is the condition in a <code>for-loop</code> allowed to be left empty? For example</p>
  
  <pre><code>for (;;)
  </code></pre>
  
  <p>compiles fine. Why does this empty expression evaluate to <code>true</code> but the following</p>
  
  <pre><code>if () {}
  while () {}
  </code></pre>
  
  <p>will both fail? I want to know <strong>if/why</strong> the <code>for-loop</code> is an exception to this case.</p>