Gate1997_1.6

In the following grammar

X::=\(X \oplus {Y \over Z }\)
Y::=\(Z \oplus {Y \over Z }\)

Z::=id

Which of the following is true?
(a) ‘\(\oplus\)’ is left associative while ‘*’ is right associative
(b) Both ‘\(\oplus\)’ and ‘*’ is left associative
(c) ‘\(\oplus\)’ is right associative while ‘*’ is left associative
(d) None of the above

 

Answer

Discuss

0Comment