Compiler-2M-Which of the following is output after eliminating

Which of the following is output after eliminating left factoring of grammar G?
S → abc | abd | aef

(A) S → aS'
S' → bc | bd | ef | ε
(B) S → aS'
S' → bS' | eS''
S'' → c | d
S''' → f
(C) Both
(D) None

A

B

C

D

0Comment