单项选择题

After three hours' mountain climbing, their legs ______ under them.

A.gave up
B.gave in
C.gave out
D.gave away