Correct Answer:
C. Compound relative pronoun
“Whatever” combines “what” with “ever” to form a compound relative pronoun, introducing a clause and referring to an unspecified thing without needing an antecedent.