Consider the following production rules with operators @, #, &.

P → P @ X | X

X → Y # X | Y

Y → Y & Z | Z

Z → id

Which of the following statement is/are TRUE?

1
@ is left associative while # is right associative.
2
Both @ and & are left associative.
3
Both # and & are right associative.
4
& has highest order of precedence while @ has lowest order of precedence

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation