void F(node&*root){if(root!=0){F(root->left); F(root->right); root->data=0; delete root;}root=0;} this codeSelect one:a.all of themb.Set all data items in the binary tree to 0c.free the binary tree and returns it emptyd.remove all items in the binary tree without changing its size
Select one:
a.all of them
b.Set all data items in the binary tree to 0
c.free the binary tree and returns it empty
d.remove all items in the binary tree without changing its size
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here