Chapter 14 : Operator Precedence



Operator Precedence



You must have learn BODMAS rule while learning Algebra, When ever we have an Algebraic expression Brackets have the greatest precedence followed by Division, Multiplication, Addition and least for Subtraction.

ie. Order of operations



Operator Precedence specifies how tightly it binds two expressions together.

Example :

2 + 2 * 3 = 8, it is not 12 because multiplication (*) operator has a higher precedence than the addition (+) operator.

(2 + 2) * 3 = 12 , because now Brackets (Parentheses) are given more importance.