One of the four sentences given in each question is grammatically wrong. That alternative is your answer:-
A Neither you nor i am in a sound position.
B Laziness is detrimental for success
C He begged the favour of my granting him leave
D Your action is not in conformity with the law