He said, “What a teacher you are”!

He said, “What a teacher you are”!

A. He exclaimed with surprise that he is a great teacher.
B. He exclaimed with surprise that he was a great teacher.
C. He exclaimed with surprise that he has a great teacher.
D. He exclaimed with surprise that he had a great teacher.