1.

Consider two binary operators and with the precedence of operator being lower than that of 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)?

A. <img src="http://images.interviewmania.com/wp-content/uploads/2019/11/as-47.jpg">
B. <img src="http://images.interviewmania.com/wp-content/uploads/2019/11/as-48.jpg">
C. <img src="http://images.interviewmania.com/wp-content/uploads/2019/11/as-49.jpg">
D. None of these
Answer» C. <img src="http://images.interviewmania.com/wp-content/uploads/2019/11/as-49.jpg">


Discussion

No Comment Found

Related MCQs