Consider the following grammar:
What is FOLLOW($Q$)?
Follow of $Q$ is first of $R$ so we get $\{w\}$ but since $R$ can be Null so we have to check first of $S$ which is $\{y\}$ so FOLLOW $Q=\{w,y\}$ Correct option (C)
correct option is c.
Ans: (C) - {w,y}
so C is ans.
64.3k questions
77.9k answers
244k comments
80.0k users