Most of the programming languages define the order in which operators are executed. We call this order as Operator Precedence. In this video, I will explain what Operator Precedence is and what is the importance of it. Also, we will see how one can avoid multiple statements with the strength of a single complex expression.
You will see how an expression is evaluated on three rules.
- Parenthesis
- High to Low Precedence
- Left to Right on Equal Precedence.