-
-
Notifications
You must be signed in to change notification settings - Fork 9
Increment Operator
IsaacShelton edited this page Mar 21, 2022
·
1 revision
The ++
operator is used for adding one to a numeric type and storing the result.
If used after the mutable expression, the expression will evaluate to the value of the expression before one was added
variable++
If used before the mutable expression, the expression will evaluate to the value of the expression after one was added
++variable