Choose the correct word to complete the sentence in reported speech from the options given below :
The teacher said, "Is your name Mamta?"
The teacher asked if _____ Mamta.
A. Her name was
B. My name was
C. Your name was
D. Was her name
isn't the answer option B ?