In which sentence does a noun clause function as the direct object?


A. The soldiers carried whichever flag belonged to their country.


B. Whatever information you need can be found in this book.


C. To change the design of the ensign is what I would like.


D. The group sent whoever requested information a brochure about the history or flags.