//
// recursive version
//
Void PrintTree(struct * node node) {
if (node == NULL)
return;
PrintTree(node -> left);
Printf(“ % d”, node -> data);
PrintTree(node -> right);
}
Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.