Gregor Mendel used pea plants to study
A:flowering
B:gamete formation
C:the inheritance of traits
D:cross-pollination