这是有宾语从句的疑问句,只能选 C:
A —— 在这种疑问句中从句不能倒装,用“where you were”才对;
B —— 时态不对,显然是问过去的事,要用“what you were doing.