Consider the operator precedence and associativity rules for the integer…

PYQ GATE 2024

Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below.

Operator

Precedence

Associativity

+

Highest

Left

−

High

Right

*

Medium

Right

/

Low

Right

The value of the expression 3 + 1 + 5 ∗ 2 / 7 + 2 − 4 − 7 − 6 / 2 as per the above rules is __________

Attempted by 750 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…