倒装,原来的:who broke the window?
倒装后变成,the window was broken by ...
再变成问句后,who was the window broken by...
所以答案是C