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

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

A. towards the wall at its upper end
B. away from the wall at its upper end
C. upwards at its upper end
D. downwards at its upper end
E. none of the above