Right answer is (d) 0V
Easiest explanation: In ideal diode model the diode is considered as a perfect conductor in forward bias and perfect insulator in reverse bias. That is voltage drop at forward bias is zero and current through the diode at reverse bias is zero.
Since net voltage Vin – VB = 2V forward biases the diode, it can be considered as a short circuit and the voltage across diode is zero.