Correct option: (C) √(h / 2g)
Explanation:

For boll B
d = v0t + (1/2) at2
i.e. h = (0) (tB) + (1/2) gtB2 where tB is time for B to reach ground
tB = √(2h / g)
when ball B reaches ground, A will reach to top i.e. tB = 2tA where tA is max height for A
∴ tA = (tB / 2) = (1/2) √(2h / g) = √(h / 2g)