Answer: Salt is an ionic compound.
Step-by-step explanation:
A compound formed by transfer of electrons from one atom to another is called an ionic compound.
For example, chemical formula of salt is NaCl (also called table salt).
Salt is formed when sodium (atomic no. 11) donates its one valence electron to chlorine (atomic no. 17). As a result, sodium ion and chlorine ion chemically combine together and form the compound NaCl.
Thus, we can conclude that salt is an ionic compound.