He said to us, “What did he have last night?”

He inquired of us what had he have last night.
He asked us what he had had the previous night.
He asked us that what did he have the previous night.
He asked us what had he had the last night.

The correct answer is: B. He asked us what he had had the previous night.

The sentence “He said to us, ‘What did he have last night?'” is in the past tense. This means that the speaker is referring to an event that happened in the past. The word “he” refers to a specific person, and the word “had” is the past tense of the verb “to have.” The word “last” refers to the night before the current night.

The sentence can be paraphrased as follows: “The speaker asked us what the specific person had eaten the night before.”

Option A is incorrect because the word “inquired” is not a past tense verb. Option C is incorrect because the word “that” is not necessary in this sentence. Option D is incorrect because the word “last” should be capitalized.