Expression tree reads symbol in form of Operand - Data Structure

Q.  What happens if an expression tree reads the symbol in the form of an Operand?
- Published on 27 Aug 15

a. One node tree is created and a pointer is pushed towards it on the stack.
b. Pointer is pop to two trees in order to generate a new tree with root as its operator.
c. Both a & b
d. None of the Above

ANSWER: One node tree is created and a pointer is pushed towards it on the stack.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)