0


Increment ( ++) and Decrement ( -- ) Operators - The increment operator increments the variable by one and decrement operator decrements the variable by one.

Operators
Meaning
++a
Increment a by 1, then use the new value of a
a++
Use value of a, then increment a by 1
--b
Decrement b by 1, then use the new value of b
b--
Use the current value of b, then decrement by 1


Post a Comment

Comment Rules :
1. Do not post Adult/illegal Links.
2. Try to comment in only English Language.
3. Do not post other website's links which are useless.
4. Your Comment should be based on the Topic for other queries Kindly Visit our Contact Us Page.
5. Do not use Abusive Language.
6. Respect each other.
Thank You for following the rules. Please Comment....

 
Top