Select the infinitive(s) in this sentence:
"It's a good idea to ask questions to be sure you understand."
A. to ask
B. to be sure
C. to understand
D. Both A and C