How is the underlined pronoun used in the sentence?

We're trying to find out(( whose ))car is parked in front of our driveway.

A.
object of a preposition

B.
direct object

C.
possessive

D.
subject