Home Segments Index Top Previous Next

81: Mainline

The precedences and associativity of the operators that you have learned about so far are given in the following table, arranged from highest precedence to lowest. the hardcopy version of this book provides a complete table.

Operators Associativity
- (unary) + (unary) right to left
* / % left to right
+ - left to right
<< left to right
= right to left