GATEverse
← GATE CSE 2024 Set 1

Q23

NAT1 mark

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

OperatorPrecedenceAssociativity+HighestLeft−HighRight∗MediumRight/LowRight\begin{array}{|c|l|}\hline \textbf{Operator} & \textbf{Precedence} & \textbf{Associativity} \\\hline \text{$+$} & \text{Highest} & \text{Left} \\\hline \text{$-$} & \text{High} & \text{Right} \\\hline \text{$*$} & \text{Medium} & \text{Right} \\\hline \text{$/$} & \text{Low} & \text{Right} \\\hline \end{array}

The value of the expression 3+1+5∗2/7+2−4−7−6/23+1+5 * 2 / 7+2-4-7-6 / 2 as per the above rules is ________.

Sign in to save attempts.

Loading…