Which of the following is a correct representation of a compound formed by ionic bonding?
H2O
CO2
NaCl
NH3
C. NaCl