title: loop - for(i=0; i<n; i++) equivalent
body: <p>What is the exact execution flow for <code>for(i=0; i&lt;n; i++)</code>?</p>
  
  <p>Is it:</p>
  
  <pre><code>i=0;
  while (true) {
    if (i&lt;n) {
      i++;
      //loop body
    }
    else {
      break;
    }
  }
  </code></pre>
  
  <p>And is <code>for (i=0; i&lt;n; i++)</code> equivalent to <code>for (i=0; i++&lt;n;)</code>, why or why not?
  This is a non-language-specific question. But to make it clear, let's say in Java.</p>