IF YOU HAD ASKED HIM, HE ………

25. If you had asked him, he ………. Helped you to solve the problem.

A. will have

B. ought to have

C. should have

D. would have