Precedence of arithmetic operators

Report a typo

Sort the arithmetic operations in the order of precedence (highest at the top).

Since Golang does NOT support the exponent operator, it has been omitted from the list below.

Put the items in the correct order
Parentheses
Multiplication, division and modulo
Unary plus/minus
Addition and subtraction
___

Create a free account to access the full topic