Computer Science, asked by dppanda64761, 10 months ago

The precedence order (from highest to lowest) of arithmetic operators is

Answers

Answered by Anonymous
0

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

Answered by TanikaWaddle
0

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

Similar questions