He went to buy some fruit, but he remembered he..............some already.
(a) bought
(b) to buy
(c) has bought
(d) had bought