Which of the following is correct?
A. G1 is ambiguous and G2 is unambiguous grammars
B. G1 is unambiguous and G2 is ambiguous grammars
C. both G1 and G2 are ambiguous grammars
D. both G1 and G2 are unambiguous grammars
Answer:B
Which of the following is correct?
A. G1 is ambiguous and G2 is unambiguous grammars B. G1 is unambiguous and G2 is ambiguous grammars C. both G1 and G2 are ambiguous grammars D. both G1 and G2 are unambiguous grammars