Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Incrementing / Decrementing Operators

Example    Name              Effect
---------------------------------------------------------------------
++$a       Pre-increment     Increments $a by one, then returns $a.
$a++       Post-increment    Returns $a, then increments $a by one.
--$a       Pre-decrement     Decrements $a by one, then returns $a.
$a--       Post-decrement    Returns $a, then decrements $a by one.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Incrementing #Decrementing #Operators
ADD COMMENT
Topic
Name
2+9 =