A covalent compound is formed by

a. metal atoms losing valence electrons to non-metal atoms
b. non-metal atoms losing valence electrons to non-metal atoms
c. metal atoms sharing valence electrons
d. non-metal atoms sharing valence electrons