下面的这道题目,两个答案那个是正确的?
Mary_____thesongattheparty.
A.washeardsingingB.washeardtosing
给出答案的话,能不能解释一下原因,谢谢