Revert the changes made in the ' if ' part to restore the original tree i . e . , fix the right child of predecessor
else { pre -> right = NULL ; printf ( " % d ▁ " , current -> data ) ; current = current -> right ; } } } }