139k views
5 votes
Define operator precedence ? explain with an example.​

1 Answer

4 votes

Answer:

Operator precedence determines which operator is performed first in an expression with more than one operators with different precedence. ... For example: '*' and '/' have same precedence and their associativity is Left to Right, so the expression “100 / 10 * 10” is treated as “(100 / 10) * 10”.

this might help,

your welcome arooja

User Gishara
by
7.8k points