1#include <stdio.h> 2#include <stdlib.h> 3#include "bin-trees.h" 4 5static void 6real_inorder (tree_ptr root) 7{ 8 if (root == NULL) 9 return; 10 11 real_inorder (root->left); 12 printf ("%d ", root->data); 13 real_inorder (root->right); 14} 15 16void 17in_order_traverse (tree_ptr root) 18{ 19 printf ("in-order traversal, with recursion: \n"); 20 real_inorder (root); 21 printf ("\n"); 22} 23