Binary tree :- lowest common ancestor


i am trying to print the lca of two nodes but it is printing address instead of the lca node .Can you please rectify my mistake