Answer to Question 36C-4

  int height(ConstTree T)
  {
    if(T == NULL)
    {
      return 0;
    }
    else
    {
      return 1 + max(height(T->left), height(T->right));
    }
  }