单项选择题

When I went in, he was lying on the floor ______ at the ceiling.

A.to stare
B.stared
C.was staring
D.staring