Which of the following sentences is not a comma splice or a run-on?

A. The student fell asleep in class; everyone thought this was rude behavior.

B. The student fell asleep in class everyone thought this was rude behavior.

C. The student fell asleep in class, everyone thought this was rude behavior.