Computer Science, asked by heebabijle3900, 1 year ago

Given one example each for Increment and decrement operator.

Answers

Answered by estherroyin
3

Increment "++"

Decrement "--"

Answered by aqibkincsem
1

Increment and decrement operators are unary operators that add or subtract one from their operand, respectively. They are commonly implemented in imperative programming languages.

C-like languages feature two versions (pre- and post-) of each operator with slightly different semantics. Additionally, the increment operator is mentioned as ++ and the decrement operator is mentioned as --.

Similar questions