Which variable does not drive a terminal string in grammar?
Here
S -> AB
{A ->a} and {B ->b or C}
if B goes with C then, there is no termination string.
So, answer is 'C' . which is also called useless symbol.
Options for this question are:a . Ab. Bc. Cd. S
C is the variable which do not derive any terminal, its also called useless symbol, after reducing useless variables your remaining grammar is, S--> AB, A-->a , B-->b
also see this
64.3k questions
77.9k answers
244k comments
80.0k users