Answer explained
Direct speech of: Samir exclaimed with joy that it was a nice drama.
Correct answer: (A) Samir said, “What a nice drama it is!”
Restore an exclamation with What a, use present is in the quoted words and retain the past reporting verb said.