Carbon forms four covalent bonds by sharing its four valence electrons with four univalent atoms, e.g., hydrogen. After the formation of four bonds, carbon attains the electronic configuration of:
(2)
The electronic configuration of carbon (C) is 2, 4. To complete its octet, it will share its 4 valence electrons with hydrogen atom and form molecule. As carbon is sharing its 4 valence electrons, it will form four covalent bonds.
Now, the electronic configuration of C in is 2, 8.
Electronic configuration of Ne (atomic number = 10) is 2, 8. Hence, after the formation of four covalent bonds, carbon attains the electronic configuration of Neon.