In the given chemical equation:
\[ C_7H_{16} + O_2 \rightarrow CO_2 + H_2O \]
the reactants are \( C_7H_{16} \) (heptane) and \( O_2 \) (oxygen).
The molecular formula \( C_7H_{16} \) indicates that there are 7 carbon (C) atoms in the heptane molecule.
Thus, the number of atoms of carbon in the reactants is 7 atoms.
So, the correct response is: 7 atoms.