An excerpt form "A book on C".
The expression ++i causes the stored value of i to be incremented first, with the expression then taking as its value the new stored value of i.
In contrast, the expression i++ has as its value the current value of i; then the expression causes the stored value of i to be incremented.
No comments:
Post a Comment