Answer
Carbon has four valence electrons.
Work Step by Step
The electron configuration of carbon is $1s^{2}2s^{2}2p^{2}$. The innermost two electrons are tightly bound to the carbon nucleus. The remaining 4 electrons spread out in four different directions and can form bonds with hydrogen-like atoms that have only one s electron in an outer orbital.