There four types of Sentences in English Grammar : 1.Declarative sentence / 2. Imperative sentence / 3. Interrogative sentence / 4. Exclamative sentence
3. Interrogative sentence : The basic function (job) of an interrogative sentence is to ask a direct question. The usual word order for the declarative is - (wh-word +) auxiliary + subject + verb...
ex : Do you like coffee? / Why didn't you go?
4. Exclamative sentence (exclamation) : Exclamative sentences express strong emotion/surprise—an exclamation—and they always end with an exclamation mark/point (!). The usual word order for the exclamative sentence is:
1. What (+ adjective) + noun + subject + verb - What a liar he is!
2. How (+ adjective/adverb) + subject + verb - How exciting the movie was!