1 votes 1 votes Compiler Design compiler-design syntax-directed-translation expression-evaluation test-series + – KISHALAY DAS asked Nov 14, 2016 retagged Jul 18, 2022 by makhdoom ghaya KISHALAY DAS 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 5 votes 5 votes only Option c can be answer since by lokking at parse tree we see 1st * will performed same as in grammar inwhich * has more precedence than +,-. But - is right associative so actual parse tree look like this. so Nothhing is correct answer Prashant. answered Nov 14, 2016 edited Nov 14, 2016 by Prashant. Prashant. comment Share Follow See all 2 Comments See all 2 2 Comments reply KISHALAY DAS commented Nov 14, 2016 reply Follow Share But minus(-) is right associative what about that?? 0 votes 0 votes Prashant. commented Nov 14, 2016 reply Follow Share now check 0 votes 0 votes Please log in or register to add a comment.