单项选择题

Walking along the river, he heard someone _____ for help.()

A. shouting
B. shout
C. shouted
D. having shouted