title: Why does sizeof(x++) not increment x?
body: <p>Here is the code compiled in dev c++ windows:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main() {
      int x = 5;
      printf("%d and ", sizeof(x++)); // note 1
      printf("%d\n", x); // note 2
      return 0;
  }
  </code></pre>
  
  <p>I expect <code>x</code> to be 6 after executing <strong>note 1</strong>. However, the output is:</p>
  
  <pre><code>4 and 5
  </code></pre>
  
  <p>Can anyone explain why <code>x</code> does not increment after <strong>note 1</strong>?</p>