The order of the operations:
--p means: decrement the variable, then fetch the new value
p-- means: fetch the old value, then decrement the variable
--p means: decrement the variable, then fetch the new value
p-- means: fetch the old value, then decrement the variable
No comments:
Post a Comment