in option C the comma+ing modifies the previous clause so correct
and in option D the pronoun it is not clear so eliminated
and in option D the pronoun it is not clear so eliminated



.jpg)






