34,333
edits
Changes
→Unary Operators - Incrementing and Decrementing Variable Values
</pre>
These operators can also be used increment and decrement a value after an expression as been performed. Suppose you have a varable variable ''x'' which has been assigned a value of 5. You want to add the value of x to a varable variable called y and then decrement x by 1. One way to do this is as follows:
<pre>