Which formula represents an ionic compound?
(1) NaCl (3) HCl
(2) N2O (4) H2O
(1) NaCl (3) HCl
(2) N2O (4) H2O