Answer:
Noun clause: whoever answers the question.
Function of clause: objects of a preposition.
Explanation:
Noun clauses are those clauses that function as a noun and has a subject and a verb. They are dependent clauses and can be of different types, depending on their function in the sentence.
In the given sentence <em>"the teacher will call on whoever answers the question"</em>, the noun clause is "whoever answers the question". This is because noun clauses start with words such as "what, how, who, which, whoever, whenever" etc.
And the noun clause in this sentence functions as an object of a preposition. An object of preposition means that the noun clause comes after a preposition in a sentence and acts as an object in the sentence.
I believe the answer is the first one.
Tends to emphasize the differences between writer and reader, and makes the message easier to understand