Operand represents leaves of expression tree - Data Structure

Q.  What do the leaves of an expression tree represent?
- Published on 27 Aug 15

a. Operand
b. Operator
c. Operation
d. All of the Above

ANSWER: Operand
 

    Discussion

  • Nirja Shah   -Posted on 18 Nov 15
    In expression tree non leaf nodes represents operators and leaf nodes are operands.
    Example: (A—B) / (C ∗ D)

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.)