Computer Science, asked by rudra4692, 5 months ago

what is precedence of operators? Give one example.​

Answers

Answered by mg9458837
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 trishagoswami717
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