Cari Blog Ini

20 November 2010

IT - Increment & Decrement Operator

* Shorthand operator increases and decreases 1 point.
* Usually use in looping.
* Operator: ++ dan –
* It can be use as prefix which is before the variable or as postfix which is after the variable.
* It must not be separated by space. (++, NOT + +)