Consider the following grammar:
S → Aa
A → BC
B → b|ε
C → c|ε
Find the value of first(S) and follow(C)?
1
{a, b, c, ε}, {a}
2
{a, b, c}, {a}
3
{b, c, ε}, {a, c}
4
{a}, {a}
Consider the following grammar:
S → Aa
A → BC
B → b|ε
C → c|ε
Find the value of first(S) and follow(C)?