Print bst in given range

https://ide.geeksforgeeks.org/GFdVrmBMFl
segmentation fault is coming.what is mistake

Hello @anitagupta1411 please wait i am checking your code.

@anitagupta1411 this is the correct code:
https://ide.geeksforgeeks.org/G5F9517h5v
if you have any doubt you can ask here:
Happy Learning!!