There are 6 electrons in the atom of a carbon.
The first atomic level will be occupied by 2 electrons while the second will be occupied by 4 electrons.
Based on this, the outer valence shell of carbon (which is L shell) will be occupied by 4 electrons.