To learn operator precedence try this:
1:ARLA means:
A-> Arithmetic operator
R->Relational operator
L->Logical operator
A-> Assignment operator
2: BODMAS
B=brackets first( (,) )
O=orders(like power and square etc.,)
D=division(/)
M=multiplication(*)
A=addition(+)
S=substraction(-)