Assume that the following values are inserted into binary search tree in the given order : 40, 50, 70, 20, 30, 10, 60, 90, 80, 100. Consider the following function:
Find the output printed by the above function, if the root of the binary search tree is passed to the "tree" function.
Void find (Node*root)
{
if (root == NULL) return;
find (root → left)
find (root → right);
printf("%d" , root → data);
}
struct node
{
int data;
struct node * left;
struct node * right;
} Node;