On the ladder resting on the ground and leaning against a smooth vertical wall, the force of friction will be__________________?

On the ladder resting on the ground and leaning against a smooth vertical wall, the force of friction will be__________________?

A. downwards at its upper end
B. upwards at its upper end
C. perpendicular to the wall at its upper end
D. zero at its upper end
E. none of the above