Arithmetic - Summary of Arithmetic Operators

Chapter chap3 section 8

We can now summarise the operators we have seen so far. These are, in order of decreasing precedence

SymbolType
()Primary Grouping
- +Unary
-- ++Unary
* / %Binary Multiplicative
+ -Binary Additive
= += -= *= /= %=Assignment Operators


Program Layout