问题

Only when he put his foot into theriver________that the water was too cold to swim in.
A:he realized
B:did he realize
C:had he realized
D:he had realized
B:did he realize
C:had he realized
D:he had realized
正确答案是: