February 2014
Beginner
1248 pages
62h 25m
English
• The unary increment operator, ++, and the unary decrement operator, --, add 1 to or subtract 1 from the value of a numeric variable (p. 131).
• An increment or decrement operator that’s prefixed (p. 131) to a variable is the prefix increment or prefix decrement operator, respectively. An increment or decrement operator that’s postfixed (p. 131) to a variable is the postfix increment or postfix decrement operator, respectively.
• Using the prefix increment or decrement operator to add or subtract 1 is known as preincrementing or predecrementing, respectively.
• Preincrementing or predecrementing a variable causes the variable to be incremented or decremented by 1; then the new value of the variable ...
Read now
Unlock full access