Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2011
Questions

Q27

MCQ2 marks, −0.67Compiler designMedium

Consider two binary operators ‘↑’\text{‘} \uparrow \text{’} and ‘↓’\text{‘} \downarrow \text{’} with the precedence of operator ↓\downarrow being lower than that of the operator ↑\uparrow. Operator ↑\uparrow is right associative while operator ↓\downarrow is left associative. Which one of the following represents the parse tree for expression (7↓3↑4↑3↓2)(7 \downarrow 3 \uparrow 4 \uparrow 3 \downarrow 2)

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.