Get the heights of left and right subtrees in lh and rh And store the returned values in ldiameter and ldiameter
ldiameter = diameterOpt ( root -> left , & lh ) ; rdiameter = diameterOpt ( root -> right , & rh ) ;