What kind of bonding (ionic or covalent) would you predict for the products resulting from the following combinations of elements?
(a) $\mathrm{Na}+\mathrm{I}_{2}$
(b) $\mathrm{C}+\mathrm{S}$
(c) $\mathrm{Mg}+\mathrm{Br}_{2}$
(d) $\mathrm{P}_{4}+\mathrm{Cl}_{2}$