According to periodic table,
Atomic number carbon=6
Electronic configuration of carbon =2,4
And Covalent
bond is being formed by carbon because of its catenation and tetravalency behaviour.
It shares its electrons with other elements instead of donating or losing.
Some allotropes of carbon are graphite, diamond etc.