Increment and Decrement

  • Ray Lischner


The previous Exploration introduced the increment (++) operator to advance an iterator. This operator works on numeric types as well. Not surprisingly, it has a decrement counterpart: --. This Exploration takes a closer look at these operators, which appear so often, they are part of the language name.


Numeric Type Decrement Operator Loop Body Standard Library Loop Condition 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Ray Lischner 2013

Authors and Affiliations

  • Ray Lischner
    • 1
  1. 1.MDUS

Personalised recommendations