The correct option is C 8
The atoms prefer to achieve the nearest noble gas electronic configuration, i.e eight electrons in their valence shell. Atoms lose or gain valence electrons to achieve octet or they share electrons and form covalent bond with other atom.