Reply to "what: subject or object"

Thank you, 

I see but in the case is ''What'' also a Subject? 

What is your hobby?

What is your name?

and in the reported speech it  is "He asked me what was my hobby.''; " He asked me what was my name."

I'm confused.

Thank you.

×
×
×
×