How is the underlined pronoun used in the sentence?

(Who) were the winners of the science fair?

Adirect object
Bobject of a preposition
Csubject

I say c. subject. Am I right?