A. The teacher told me what my name was.
B. The teacher asked me what my name was.
C. The teacher asked me what my name is.
D. The teacher asked me what was my name.
A. The teacher told me what my name was.
B. The teacher asked me what my name was.
C. The teacher asked me what my name is.
D. The teacher asked me what was my name.