In reported questions, there is a simple rule of changing the order of the sentence into a non question order. like "what's the dinner" changes to "she asked me what the dinner was". However, sometimes you come across sentences like "what's in the box? what's FOR dinner? who else is there?", etc, in which case the reported question would be "she asked me what was in the box", "she asked me what was for dinner", etc. Now I know how meaningless it is to say "she asked me what in the box was", but when teaching students, they can't differentiate between them just by the meaning. I wanted to know what rule there is to explain this.
thanks in advance