Why carbon forms covalent bond not ionic bond?