Computer Science, asked by Prh56, 7 months ago

In the operator evaluation, the addition operator has the higher precedence than the subtraction operator.
how?
Those who will answer first I will mark Them brainliest​

Answers

Answered by jaisuryabro
1

Answer:

when addition sign comes left to the subtraction sign.

Explanation:

Actually the addition and subtraction operators have same precedence .

In case of same preseceden Assosiativity comes into the picture, which from either left to right or right to left.

for + and - group of operators Assosiativity is from left to right (iff we have atleast two or more operators of the same precedence then we follow Assosiativity.)thus the operator which comes to the left side of expression is evaluated first.

Similar questions