retagged by
1,280 views

1 Answer

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 

edited by
Answer:

Related questions

1 votes
1 votes
1 answer
1
worst_engineer asked Jan 5, 2016
890 views
The way I solved it was :is this correct evaluation order ?Because in the answer they have mentioned different order :
2 votes
2 votes
1 answer
2
4 votes
4 votes
2 answers
3