Delete node from BST question

here’s my code for delete operation in BST, https://ide.codingblocks.com/s/303442. But it could only pass two test cases .

@harshit.t2409, at line 96, its should be root=deleteBST(root,x); instead of deleteBST(root,x); as deleteBST(root,x) returns updated root value