What is the function of the noun clause in this sentence?
Give whoever enters the auditorium a pamphlet.
Asubject
B.direct object
C.appositive
D.indirect object
Give whoever enters the auditorium a pamphlet.
Asubject
C.appositive
D.indirect object