How is the underlined pronoun in the sentence used?


Sharon asked me a tough question. me is underlined







A.
subject





B.
object of a preposition





C.
direct object





D.
indirect object