in the morning Robert cooked for breakfast

What is the term for the bold noun
A direct object
B Noun in prepositional phrase
C indirect object
D subject

A. Direct object

The term for the bold noun in the given sentence, "Robert cooked for breakfast," is:

D) Subject