The precedence order (from highest to lowest) of arithmetic operators is
Answers
Answer:
Here, the * operator gets higher priority than + and hence 2 + 6 * 5 is interpreted as 2 + (6 * 5 ) . This order can be changed with the use
brackets > modulus >multiplication> division addition > subtraction
Explanation:
All arithmetic operators in C language follow the left to right associativity.
Arithmetic operators follow the same precedence rules as in mathematics, and these are: exponentiation is performed first (when available), multiplication and division are performed next, addition and subtraction are performed last.
This rule of priority of operators is called operator precedence. In C, precedence of arithmetic operators( *, %, /, +, -) is higher than relational operators(==, != , >, <, >=, <=) and precedence of relational operator is higher than logical operators(&&, || and !).
#Learn more:
Which operator has the highest order of precedence?
https://brainly.in/question/7455542