Answer: The correct option is D.
Explanation: Table salt has a chemical formula NaCl.
This compound is an ionic compound.
Ionic compound is defined as the compound formed when there is a complete transfer of electron from one element to another.
NaCl consists of two elements, Sodium (Na) and Chlorine (Cl)
Sodium has an atomic number of 11 and its electronic configuration is [tex][Ne]3s^1[/tex]. This element has 1 extra electron, so in order to have stable electronic configuration, this element will release 1 electron and forms a cation.
Chlorine has an atomic number of 17 and its electronic configuration is [tex][Ne]3s^23p^5[/tex]. Chlorine element requires 1 electron to have stable electronic configuration. Hence, this element will accept 1 electron and will form an anion.
When these two element combine together, Sodium will give away 1 electron to chlorine and therefore, chlorine becomes anion.
Hence, the correct option is C.