Discussion Forum
Que. | Which one of the following is True at any valid state in shift-reduce parsing? |
a. | Viable prefixes appear only at the bottom of the stack and not inside |
b. | Viable prefixes appear only at the top of the stack and not inside |
c. | The stack contains only a set of viable prefixes |
d. | The stack never contains viable prefixes |
Answer:The stack contains only a set of viable prefixes |