Chemosynthetic autotrophs do not use sunlight.
Instead, they obtain energy by oxidizing inorganic substances such as ammonia, hydrogen sulfide, ferrous ions, or nitrites, and use this energy to synthesize organic compounds.
Hence,
\[
\boxed{\text{Oxidation of inorganic compounds}}
\]
is the correct answer.
Therefore,
\[
\boxed{(C)}
\]