c++ - the order of assigning values
<p>I am looking for some explanations regarding the behavior of the following code:</p>

<pre><code>int a = 1;
int b = (4,5,6);
cout&lt;&lt;a+b;
</code></pre>

<p>Why is it that <strong>b</strong> takes the last value <strong>6</strong>?</p>

<p>EDIT: Sorry, I made the wrong example, thanks to all for the explaining how b gets the value 6.</p>
