(c) Let both balls meet at point $P$ after time $t$
The distance travelled by ball $A,\ h_{1} = \frac{1}{2}gt^{2}$
The distance travelled by ball $B,\ h_{2} = ut - \frac{1}{2}gt^{2}$
$h_{1} + h_{2} = 400\ m\ \Rightarrow ut = 400,\ t = 400/50 = 8\ sec$
$\therefore h_{1} = 320m$ and $h_{2} = 80\ m$