![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
Consider the following expression grammar. The seman-tic rules for expression
|
A. | It detects recursion and eliminates recursion |
B. | It detects reduce-reduce conflict, and resolves |
C. | It detects shift-reduce conflict, and resolves the conflict in favor of a shift over a reduce action |
D. | It detects shift-reduce conflict, and resolves the conflict in favor of a reduce over a shift action |
Answer» C. It detects shift-reduce conflict, and resolves the conflict in favor of a shift over a reduce action |
View all MCQs in
Theory of Computation and Compiler DesignNo comments yet