Assignment or increment operator in c++ : <p>I have been running this code at different compilers. At Microsft VS. it prints 1, but at gcc, it prints 0. What is the result according to the standard c++. I don't if there is standardization for this piece of code as well.</p>

<pre><code>int a=0;
a=a++;
cout &lt;&lt; a&lt;&lt; endl;
</code></pre>
