If it hadn't been for his carelessness, he would have passed the exam.
A. He was careless because he hadn't passed the exam.
B. If he was more careful, he would pass the exam.
C. If he had been more careful, he would have passed the exam.
D. Because he wasn't careless, he didn't pass the exam.