You must have learn BODMAS rule in alegbra,

ie.**Order of operations**

**B**rackets

**O**rders(ie Powers and roots)

**D**ivision

**M**ultiplication

**A**ddition

**S**ubtraction

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.

ie.

Operator Precedence specifies how

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.