Which two sentences contain infinitives that function as nouns?

AYousef wants to study abroad for a semester during his junior year of college.
BPeople who can persevere in the face of obstacles deserve the utmost respect.
CThe best way to get to know someone better is through open and honest communication.
DCarla is taking a computer course at the local college to increase her chances of landing her dream job.
ETo inspire others to achieve their goals is one of the greatest rewards of teaching.

Verified Answer :

the answer would be A i think

Answer: A. Yourself wants to study abroad for a semester during his junior year of college.

E. To inspire others to achieve their goals is one of the greatest rewards of teaching.

Explanation: The correct answers are "Yousef wants to study abroad for a semester during his junior year of college" and "To inspire others to achieve their goals is one of the greatest rewards of teaching. "In the first sentence, "to study" functions as the direct object of the sentence. In the second sentence, "To inspire functions as the subject of the sentence.