Question: how many valence electrons does carbon have available for bonding?
Answer: Carbon has four valence electrons, so it can achieve a full outer energy level by forming four covalent bonds.