How to show the output?

Does the output needs to be shown in this format
2 => 1 <= END
3 => 2 <= END
END => 3 <= END
of just a simple preorder view?
if not simple preorder, explain how to cout the output?

refer my code https://ide.codingblocks.com/s/629860
u will understand the format of printing o/p

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

What is the error in my code? https://ide.codingblocks.com/s/631950