Understanding Simple For Loop Code in C : <p>I'm beginner in C programming (just started) and i need help from you to understand the output of this very simple code:</p>

<pre><code>int main()
{
   int x=1;
   for (;x&lt;=10;x++);
   printf("%d\n",x);
    return 0;
}
</code></pre>

<p>output is:
11</p>

<p>the same output if x value is &lt;=11
and if x value is 12 or more, it prints the exact value of x (ex: if int x=12; the output is 12).</p>

<p>how did the computer understand this code?</p>
