void tree_print(struct treenode *tp) { if(tp == NULL) return; tree_print(tp->left); printf("%s\n", tp->item); tree_print(tp->right); }