Define Rule of Priority in Binary Arithmetic operators and explain with suitable example.
Answers
Answered by
5
The precedence of operators determines which operator is executed first if there is more than one operator in an expression. Let us consider an example: int x = 5 - 17* 6; In C, the precedence of * is higher than - and = . ... Then the expression involving - is evaluated as the precedence of - is higher than that of = .
Answered by
2
Answer:
The precedence of operators determines which operator is executed first if there is more than one operator in an expression. Let us consider an example: int x = 5 - 17* 6; ... Then the expression involving - is evaluated as the precedence of - is higher than that of = .
Similar questions