Q1.6MCQMarks unknownIn the following grammar X::=X⊕Y∣YX ::= X \oplus Y \mid YX::=X⊕Y∣Y Y::=Z∗Y∣ZY::= Z * Y \mid ZY::=Z∗Y∣Z Z::=idZ::= id Z::=id Which of the following is true?(A)‘⊕’\text{‘}\oplus\text{’}‘⊕’ is left associative while ‘∗’\text{‘}*\text{’}‘∗’ is right associative(B)Both ‘⊕’\text{‘}\oplus\text{’}‘⊕’ and ‘∗’\text{‘}*\text{’}‘∗’ are left associative(C)‘⊕’\text{‘}\oplus\text{’}‘⊕’ is right associative while ‘∗’\text{‘}*\text{’}‘∗’ is left associative(D)None of the aboveSign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google