Course Content
Programming in C
About Lesson

The binary arithmetic operators are + (addition), – (subtraction), * (multiplication), / (division) and % (modulus). 

The modulus (%) operator gives the remainder and cannot be applied to float or double. Integer division truncates any fractional part.

Arithmetic operators associate from left to right. + and – operators have the same precedence, which is lower than the precedence of *, / and %, which in turn is lower than unary + and -.

Scroll to Top