explains the order of evaluation of an expression that has multiple operators. The operator with higher precedence will get the higher priority.
10 + 2 * 5
In the above code, priority is given to the '*
' operator because of its higher precedence (BODMAS
Asked In: Spotted While Learning |