Consider the grammar defined by the following production rules, with two…
GATE · 2014 · CS · Set 2 · Computer Science & IT
Consider the grammar defined by the following production rules, with two operators ∗ and
Which one of the following is TRUE?
- A.
+ is left associative, while ∗ is right associative
- B.
+ is right associative, while ∗ is left associative
- C.
Both + and ∗ are right associative
- D.
Both + and ∗ are left associative
Attempted by 257 students.
Sign up free to check your answer
Sign up freeLoading lesson…