in DS edited by
2,111 views
1 vote
1 vote

Which of the following expression is represented by the parse tree ?

  1. $(A + B) ^{*} C$
  2. $A + ^{*} BC$
  3. $A + B * C$
  4. $A * C + B$
in DS edited by
2.1k views

2 Answers

2 votes
2 votes

(A) option ans.

0 votes
0 votes
answer is c it is to be seen from left to right

1 comment

How is C correct?

Shouldn't the operator be evaluated first be placed at the lowest level?
0
0

Related questions