Which of the following sentences contains a grammatical error in the use of conditional sentences?
A) If I had known you were coming, I would have baked a cake.
B) If she studies harder, she will pass the exam.
C) If I was you, I would take that job offer.
D) Should you need any assistance, please don't hesitate to contact us.