+ 1
What is use of the prefix operator
a prefix operator used for incrmentig or decrementing a value aftter a operation is performed
1 Odpowiedź
0
Performance
If you do not need the previous value, make it a habit to use pre-increment.
Semantic
i++ says increment i, interested in the previous value.
++i says increment i, interested in the current value or increment i, no interest in the previous value.