1.

An expression tree’s nodes can be deleted by calling?(a) malloc(b) calloc(c) delete(d) freeOrigin of the question is Trees topic in division Trees of Data Structures & Algorithms II have been asked this question in examination.

Answer»

Right answer is (d) free

Easiest EXPLANATION - In Binary TREES, NODES are created by calling MALLOC and they are deleted by calling free.



Discussion

No Comment Found

Related InterviewSolutions