Gate CS-2011 Question Paper With Solutions

Q. 27 Consider two binary operators ‘↑′‘↑′  and ‘↓′‘↓′ with the precedence of operator ↓↓ being lower than that of the operator ↑↑. Operator ↑↑ is right associative while operator ↓↓ is left associative. Which one of the following represents the parse tree for expression (7↓3↑4↑3↓2)

Gate CS-2011 Question Paper With Solutions

Answer: (B)

Explanation:

Gate CS-2011 Question Paper With Solutions

Learn More:   CS-2002 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here