Answer:
The underlined word "slams" in the sentence "Whenever the door slams, the lamp rocks back and forth" is a verb.
A verb is a word that expresses an action, occurrence, or state of being. In this sentence, "slams" is the action that the door is performing. It describes the movement of the door forcefully closing. Therefore, the correct answer is (c) verb.