how do we get this output C++
<p>I have this code:</p>

<pre><code>int i = 0, j = 0;
for(i=0,j=0;i&lt;5,j&lt;25;i++,j++);
    cout&lt;&lt;i &lt;&lt;" "&lt;&lt;j;
</code></pre>

<p>And I don't know why it outputs <code>25 25</code>. I really don't understand why its getting the value 25 in <code>i</code> and <code>j</code>. Can any one please explain me why it is reaching value 25 from the second condition? Is this the problem of checking the two condition in one for loop?</p>
