问题 单项选择题

设有文法G[S]为S→AB
bC,A→ε
b,B→ε
aD,C→AD
b,D→aS
c则FOLLOW与A的函数为()

A.{a,c,#}

B.{c,#}

C.{a,#}

D.{#}

答案

参考答案:A

单项选择题
单项选择题 A1型题