Posts by Clemilton Pereira • 16 points
1 post
-
0
votes1
answer118
viewsA: Pointer problem - remove element in a binary search tree
You have only declared the Previous variable as a pointer. The Current variable is of the struct Node type. To declare the two variables as pointers do as follows:. void remove_node(Node* root, int…