GATEverse
← GATE CSE 2016 Set 1

Q45

NAT2 marks

The attribute of three arithmetic operators in some programming language are given below.

OPERATORPRECEDENCEASSOCIATIVITYARITY+HighLeftBinary−MediumRightBinary∗LowLeftBinary\begin{array}{|c|l|}\hline \textbf{OPERATOR} & \textbf{PRECEDENCE} & \textbf{ASSOCIATIVITY} & \textbf{ARITY} \\\hline \text{$+$} & \text{High} & \text{Left} & \text{Binary} \\\hline \text{$-$} & \text{Medium} & \text{Right} & \text{Binary} \\\hline \text{$*$} & \text{Low} & \text{Left} & \text{Binary} \\\hline \end{array}

The value of the expression 2−5+1−7∗32-5+1-7*3 in this language is ________.

Sign in to save attempts.

Loading…