What's wrong in this code - https://ide.codingblocks.com/s/365775

facing run error what’s wrong in this code - https://ide.codingblocks.com/s/365775

Hey @hssharma2212000 what issue you are getting in this?

facing - segmentation fault

After your else if statement in line 57, add this else statement Instead of return root statement.
Else{
Root ->right = Deletenode(Root->right,data);
Return root;
}

no change - still not working

Share your updated code with me

Issue is not with your deletenode() function , the main issue you are getting is because of your insertnode function
see-> https://ide.codingblocks.com/s/365805
take reference from this

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.