0 votes 0 votes reena_kandari asked Dec 21, 2016 reena_kandari 339 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply reena_kandari commented Dec 21, 2016 reply Follow Share Here I am getting two parse tree from one parse tree answer is C and from another one answer is D how to decide which one is correct solution? 1 votes 1 votes thor commented Dec 21, 2016 reply Follow Share Grammar is ambiguous. So, both are possible. But (D) is the first one that comes to mind as it is easy. but (C) is also correct. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Using Bottom up parsing I guess Option D is the answer bad_engineer answered Dec 21, 2016 bad_engineer comment Share Follow See all 0 reply Please log in or register to add a comment.