While evaluating the expression tree, if the left or right child is not present then the value of that particular missing child is taken as 0?
Have a look at this question
In my evaluation, I am getting: ( (a-0) - b ) - 0 + e! = a-b+e!
Answer is given as option c but by this approach, I am getting option (d) as the answer.
@garvit_vijai OPTION D HOW ???
WE WANT 1 . IN OPTION D e =1 ,, WE DONT WANT THIS NEGATION SYMBOL. SO E ALWAYS BE 0
@garvit_vijai I MISUNDERSTOOD THAT SYMBOL AS NEGATION :\
YEPP THEN OPTION 4 ALSO SATISFIES..
Given $C$ program is not