How operator precedence works? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

How operator precedence works?

I need some help about operator precedence.

16th Dec 2017, 2:51 AM
Fahim Montasir Misbah
Fahim Montasir Misbah - avatar
2 Answers
+ 8
Refer to table under Operator Precedence, 1.61 Operators of higher precedence are evaluated first (over operators of lower precedence).
16th Dec 2017, 3:29 AM
Hatsy Rei
Hatsy Rei - avatar
Just like in math.
16th Dec 2017, 4:23 AM
Amir Galanty
Amir Galanty - avatar