The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+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 by Boss (29.5k points)
recategorized by | 367 views

3 Answers

+2 votes

(A) option ans.

by Boss (19.9k points)
0 votes
answer is c it is to be seen from left to right
by Boss (10.7k points)
How is C correct?

Shouldn't the operator be evaluated first be placed at the lowest level?
0 votes
Ans: A
by Loyal (7.1k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,807 questions
54,711 answers
79,681 users