单项选择题

When ______ his homework, he heard someone singing.

A. he does
B. he doing
C. doing
D. did