For carbon, Z=6, and thus its electronic configuration is................
Explanation:
C:1s22s22p2. The valence shell of carbon (for which n=2) thus contains 4 electrons. Of course there are various hybridization schemes, but the fact remains that carbon commonly forms CH4 and CR4 molecules, i.e. utilizing 4 valence electrons.