Run time error!

please find out what i am missing in my code.
link to my code - https://ide.codingblocks.com/s/246649

hi @pulkit_pandey09 in your print function, condition should be if(root==NULL) return ; you have ommitted one = and made it assignment operator instead. Please mark the doubt as resolved if you dont have any further queries

not able to pass test cases. https://ide.codingblocks.com/s/246649

hi @pulkit_pandey09 since there are multiple test cases, you should print a newline after every test case. Please mark the doubt as resolved if you dont have any further queries