1.

which of the following grammer is LR(1) ?

a)A->aAa
A->bAb
A->a
A->b

b)A->aAa
A->aAb
A->c

c)A->A+A
A->a

d)both a and b

A. A
B. B
C. C
D. D
Answer» C. C


Discussion

No Comment Found