You ______ buy a gift, but you can if you want to.
 
【正确答案】 D
【答案解析】 根据句意你不一定(don't have to)要买礼物,但是如果你想,你可以买。B项是禁止,易混淆,不符合语境,故排除。