When she was alone at home,Mary needed a friend_____.
A.playing with
B.having played with
C.with whom to play with
D.with whom to play
正确答案是D