Operators are internal C functions that, when they are applied to values, produce a result. Common types of C operators are arithmetic and logical.
Some common arithmetic operators are listed below.
= assignment + addition - subtraction * multiplication / division % modulo reduction ++ increment -- decrement
Note that multiplication, division, and modulo reduction (%) operations will be performed before addition and
subtraction in any expression. When division is performed on two integers,
the result is an integer with the remainder discarded. Modulo reduction
is the remainder from integer division. The ++ operator is a shorthand notation for the increment operation.