sizeof operands get evaluated?
<p>AFAIK sizeof doesn't evaluate its operands it C++.</p>

<p>E.g.</p>

<pre><code>int x = 0;
sizeof(x += 1); // value of x is not changed
</code></pre>

<p>But what does this mean?</p>

<pre><code>int arr[5];
sizeof(arr+0); // here array is converted to pointer
</code></pre>

<p>Why does the arithmetic on array is applied here?</p>

<blockquote>
  <p>(§ 5.3.3/4) The lvalue-to-rvalue (4.1), array-to-pointer (4.2), and
  function-to-pointer (4.3) standard conversions are not applied to the
  operand of sizeof.</p>
</blockquote>
