Vidyalelo
Data Structure · Q152

Trees in Data Structures

Programming · Data Structure · question 152

Q152

Parse tree for the expression p & q % r % s & t & u is given below. Which of the following is correct for the given parse tree?

Parse tree for the expression p & q % r % s & t & u is given below. Which of the following is correct for the given parse tree?
Trees in Data Structures mcq question image
A.
% has lower precedence than &
B.
% is right associative
C.
& has lower precedence than %
Answer
D.
& is left associative

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board