what is precedence of operators? Give one example.
Answers
Answered by
5
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”.
Answered by
5
Answer:
When there is more than one operator, then the precedence of operators decides which operator to carry on with its function first.
For example: '*' and '/' have the same precedence and their associativity is Left to Right, so the expression “100 / 10 * 10” is treated as “(100 / 10) * 10”.
Mark as brainliest. It's an order XD
Thank you <3
Similar questions