Which formula represents an ionic compound?
(1) H2 (3) CH3OH
(2) CH4 (4) NH4Cl
(1) H2 (3) CH3OH
(2) CH4 (4) NH4Cl