Q. Consider the following grammar.S -> S * ES -> EE -> F + EE -> FF -> idConsider the following LR(0) items corresponding to the grammar above.(i) S -> S * .E(ii) E -> F. + E(iii) E -> F + .EGiven the items above, which two of them will appear in the same set in the canonicalsets-of-items for the grammar? (Solved)

1. (i) and (ii)

2. (ii) and (iii)

3. (i) and (iii)

4. None of the above

  • d. None of the above
Subscribe Now

Get All Updates & News