A particle is projected with velocity u making an angle of 45° with the vertical then also the angle it would make woth horizontal woyld be same that is 45 degree..
Therefore the height it would attain with 45 degree angle with horozontal is:
H = u^2sin^2(theta)/2g => u^2/4g.