Compiler-Design

Question 48

Consider the grammar shown below.

S → C C
C → c C | d

The grammar is

A
LL(1)
B
SLR(1) but not LL(1)
C
LALR(1) but not SLR(1)
D
LR(1) but not LALR(1)
Question 48 Explanation: 

Hence, it is LL(1).
Correct Answer: A
Question 48 Explanation: 

Hence, it is LL(1).
0 0 votes
Article Rating
Subscribe
Notify of


0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: <b>Alert: </b>Content selection is disabled!!
Parsers
February 13, 2024
Question 9637 – Compiler-Design
February 13, 2024
Parsers
February 13, 2024
Question 9637 – Compiler-Design
February 13, 2024