Among the given options, sodium chloride (NaCl) is the compound that exhibits ionic bonding. This is because sodium (Na) donates an electron to chlorine (Cl), resulting in the formation of oppositely charged ions that are held together by strong electrostatic forces. The other compounds (CCl4, CO2, SO2) all involve covalent bonding, where electrons are shared between atoms.