Identify the grammatical function of the bolded noun clause in this sentence:

Shirley didn't realize that the mechanic had no idea what he was doing.
Responses

A subjectsubject

B direct objectdirect object

C predicate nominativepredicate nominative

D object of a preposition

1 answer

B direct object