The correct answer is: D. No error
The sentence “I wonder how am I to do it” is grammatically correct. The word “how” is used to introduce a question about the manner or method of doing something. The word “am” is the first person singular present tense form of the verb “to be.” The word “to” is a preposition that indicates the purpose or goal of an action. The word “do” is the infinitive form of the verb “to do.” The sentence
can be paraphrased as “I wonder how I am supposed to do it.”The other options are incorrect because they contain grammatical errors. Option A, “I wonder,” is missing the subject of the sentence. Option B, “how am I,” is missing the verb. Option C, “to do it,” is missing the subject.