Increment or Decrement
Increment or decrement by 1.
Incr/Decr is shorthand notation for increment by 1 and decrement by 1.
incr variable; // set variable = variable + 1;
decr variable; // set variable = variable - 1;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified August 31, 2024: Signed-off-by: tracyragan <[email protected]> (20379ca)