Incrementing and Decrementing Numbers
Learn how to increment or decrement the contents in registers and memory cells.
Increment and decrement numbers
In pseudocode, incrementing or decrementing the number stored in location (address) a
looks very simple:
(a) + 1 -> (a)
(a) – 1 -> (a)
Increment and decrement in C and C++
In C and C++, we can increment and decrement in three different ways:
Get hands-on with 1400+ tech skills courses.