C Arithmetic Operators

Operator Description
unary + sign Actually has no effect on the value of the expression.
binary + addition Adds the two object together.
unary - sign Changes the sign of the value or expression.
binary - subtraction Subtracts the value on the right from the value on the left.
* multiplication Multiplies the two values.
/ division Divides the value on the right into the value on the left.
% modulus Returns the remainder of division of the two values.
++ increment Adds one to the number on the right or left (pre- or post-fix).
-- decrement Subtracts one from the number (pre- or post-fix).
= assignment Places value of expression on right into object on left.
sizeof size of Yields the size in bytes of the object on right.
(type) type casting Changes the type of the object on right to variable type shown within the parenthesis.