Getting wrong answer in BSTOPS

problem :- https://www.codechef.com/problems/BSTOPS
my code :- https://www.codechef.com/viewsolution/33353150
Can I know which test cases am I failing?

I’m also getting wrong answer in this question.Please someone help.
mycode: https://www.codechef.com/viewsolution/33017673

hi bro!
Got AC, try printing the position with separate function.
like, void position(int key,node *root)
my solution:- https://www.codechef.com/viewsolution/33354861