Answer:
The noun clause function as D. indirect object.
Explanation:
A noun clause is a dependent clause that functions as a noun in a sentence. That means it can be everything a noun can be: subject, object of a verb or of a preposition, or a predicate nominative. Noun clauses begin with words such as what, whatever, whoever, when, which, how etc.
In the sentence "Give whoever enters the auditorium a pamphlet," the noun clause is "whoever enters the auditorium." The verb "give" has both a direct object and an indirect object. The direct object is the thing that will be given - in this case, the pamphlet. The indirect object is the person who will be given the pamphlet - in this case, "whoever enters the auditorium" will be given a pamphlet. Therefore, the noun clause is the indirect object.