Concept:
In indirect speech for {wh-questions}, the question word is retained and sentence becomes a statement.
Step 1: Keep question word.
\[
{Where} \rightarrow {where}
\]
Step 2: Change pronoun and tense.
\[
{you} \rightarrow {I}, \quad {have been} \rightarrow {had been}
\]
Step 3: Form sentence.
\[
{He asked me where I had been.
\]
Step 4: Evaluate options.
- (A) \checkmark correct
- (B) $\times$ “if” used for yes/no questions
- (C) $\times$ incorrect structure
- (D) $\times$ wrong question word
Hence, the correct answer is option (A).