According to the fossil record, when did the dinosaurs become extinct?

A
at the start of the Mesozoic Era

B
at the start of the Paleozoic Era

C
at the end of the Mesozoic Era

D
at the end of the Paleozoic Era