Print BST in given Range

Why my test case is failing ??

@ashwani225 did you look at the output format of the question? Please read the question carefully before submitting.

You need to get the preorder and the inorder both with some output format mentioned in the question
This code passes the testcases
https://ide.codingblocks.com/s/265855