John said to me, "where have you been last night?"
A
John asked me where had I been the previous night.
B
John asked me where I have been the previous night.
C
John asked me where I am the previous night.
D
John asked me where I had been the previous night.
Correct Answer: John asked me where I had been the previous night.
John asked me where I had been the previous night.