单项选择题

He reached the top of the hill and stopped ______ on a big rock by the side of the path.

A. resting
B. rest
C. to rest
D. to have rested