Correct option is C
Option (c) contains an error.
· The error in option (c) is in the word order of the reported question. When converting a question to indirect speech, the subject should come before the verb. The correct structure should be: "what he was doing" instead of "what was he doing."
·
Grammatical rule used: In reported speech, questions are usually converted by changing the word order from the subject-verb inversion (used in direct questions) to a standard subject-verb order.