title: Mixing post- and pre- increment/decrement operators on the same variable
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/371503/why-is-i-considered-an-l-value-but-i-is-not">Why is ++i considered an l-value, but i++ is not?</a>  </p>
  </blockquote>
  
  
  
  <p>In C++ (and also in C), if I write:</p>
  
  <pre><code>++x--
  ++(x--)
  </code></pre>
  
  <p>i get the error: lvalue required as increment operand</p>
  
  <p>However <code>(++x)--</code> compiles. I am confused.</p>