Is the maximum height attained by projectile is largest when its horizontal range is maximum?

No, horizontal range is maximum when 0 = 45° and maximum height attained by projectile is largest when 0 = 90°.