He said, "I had a wonderful dream last night".
A. He said that he saw a wonderful dream last night.
B. He said that last night he had a wonderful dream.
C. He said that he had had a wonderful dream the previous night.
D. He said that he had seen a wonderful dream yesterday.
Answer: Option C

Correct the option C it is wrong. It has two had instead of one.