An exclamatory sentence expresses a strong reaction such as surprise, delight, or frustration. English has a special exclamative pattern that often begins with what or how, as in What a close race that was!

How to recognize it
Look for a strong reaction. To identify the special exclamative structure, look especially for what plus a noun phrase or how plus an adjective or adverb, rather than relying on the final punctuation alone.
Examples explained
Exclamations with what and how
What + noun phrase. In What a close race that was!, what introduces the noun phrase a close race.
How + adjective or adverb. In How quickly they finished!, how highlights the degree of speed. The subject they still comes before the verb finished.
What the exclamation point does
An exclamation point signals emphasis. It can end a declarative statement such as We won! or an imperative such as Watch out! Short expressions such as What a race! and Wow! can also stand on their own as exclamations.
Common mix-up
Not every sentence with an exclamation point has exclamative structure. We won! is a statement used with excitement; Watch out! is an urgent command.
Quick check
Which uses the special exclamative pattern: “We won!” or “What a close race that was!”?
Reveal the answer and explanation
What a close race that was! It begins with what plus the noun phrase a close race. We won! has declarative structure, even though it expresses excitement.