Which of the following statements is false ?
A. An unambiguous grammar has same leftmost and rightmost derivation
B. An LL(1) parser is a top-down parser
C. LALR is more powerful than SLR
D. An ambiguous grammar can never be LR(k) for any k
Answer:A
Which of the following statements is false ?
A. An unambiguous grammar has same leftmost and rightmost derivation B. An LL(1) parser is a top-down parser C. LALR is more powerful than SLR D. An ambiguous grammar can never be LR(k) for any k