Increment and Decrement operators
<p>How are the below valid and invalid as shown and what do they mean. When would such a situation arise to write this piece of code.</p>

<pre><code>++x = 5;     // legal
--x = 5;     // legal
x++ = 5;     // illegal
x-- = 5;     // illegal
</code></pre>
