At the top of the trajectory of a projectile, the directions of its velocity and acceleration are
Perpendicular to each other
Direction of velocity is always tangent to the path so at the top of trajectory, it is in horizontal direction and acceleration due to gravity is always in vertically downward direction. It means angle between →v and →g are perpendicular to each other.