

MCQOPTIONS
Saved Bookmarks
1. |
Which one of the following is true about the action of yacc for the given grammar? |
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» D. It detects shift-reduce conflict and resolves the conflict in favor of a reduce over a shift action | |