Consider the grammar defined by the following production

A → B | A & B

B → B $ C | C

C → D # C | D

D → id

Which of the following is false?

1
A is left recursive and & has lowest order of precedence
2
C is right recursive and # has highest order of precedence
3
C is right recursive and # is right associative
4
B is right recursive and $ is left associative

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation