Note:  however, that in such cases we always put what at the beginning of

 

the sentence and for at the end of the sentence. 

 

  E.g.      Why did he go there?        OR     What did he go there for?

 

                 Why did he say that?       OR     What did he say that for?