202108041142 Arithmetic Operators in C

Given two operands a and b, let them be integers:

Addition Operator (+) adds two operands a, b:

Subtraction Operator (-) subtracts the second operand b from the first operand a:

Multiplication Operator (*) multiplies both operands a, b:

Division Operator (/) divides the first operand a (numerator) by the second operand b (denominator):

Modulo Operator (\% ) returns the remainder after integer division of the first operand a (dividend) by the second operand b (divisor):

Increment Operator (++) increases the integer value by one.

Decrement Operator (--) decreases the integer value by one.


Cf.

The pre-increment and pre-decrement operators increment (decrement resp.) their operand by 1, and the value of the expression is the resulting incremented (decremented resp.) value. The post-increment and post-decrement operators increase (decrease resp.) the value of their operand by 1, but the value of the expression is the operand’s value prior to the increment (decrement resp.) operation.

Wikipedia on Increment and decrement operators