MCQ · 1 mark · ParsingGATE CS 2014 CS-2 — Q17Consider the grammar defined by the following production rules, with two operators ∗*∗ and +++S→T∗PS \rightarrow T * PS→T∗PT→U∣T∗UT \rightarrow U \mid T * UT→U∣T∗UP→Q+P∣QP \rightarrow Q + P \mid QP→Q+P∣QQ→IdQ \rightarrow IdQ→IdU→IdU \rightarrow IdU→IdWhich one of the following is TRUE?Select one optionA.+++ is left associative, while ∗*∗ is right associativeB.+++ is right associative, while ∗*∗ is left associativeC.Both +++ and ∗*∗ are right associativeD.Both +++ and ∗*∗ are left associativeCheck answer