How is the underlined gerund phrase used in the sentence?


They heard the poodle's barking from the yard.

('the poodle's barking from the yard' Is underlined.)

A

subject

B

object of a preposition

C

predicate nominative

D

direct object