"what I am" or "what am I" [closed]

What is the difference between/which is right: "What I am doing wrong" vs "What am I doing wrong" ?


Solution 1:

What I am doing wrong is not a direct question, it is a statement or an indirect question like:

Feel free to correct what I am doing wrong.

I want to find out what I am doing wrong.

Whereas What am I doing wrong? is a direct question.

In direct questions the auxiliary verb am should become before the subject I.