Read each sentence to find out whether there is any grammatical error in it. The error, if any will be in one part of the sentence. The letter of that part is the answer. If there is no error, the answer is 'E'. (Ignore the errors of punctuation, if any).

David did not like leaving his old parents alone in the house but he had no alternative as he has to go out to work.

A.

David did not like

B.

leaving his old parents alone in the house

C.

but he had no alternative

D.

as he has to go out to work.

E.

No error

Correct answer is D

as he had to go out to work