Ionic bonding occurs when electrons are transferred from one atom to another, typically between metals and non-metals. In NaCl (sodium chloride), sodium (Na) donates an electron to chlorine (Cl), forming Na\(^+\) and Cl\(^-\) ions, which are held together by electrostatic forces. This is a classic example of ionic bonding.
Thus, the compound that exhibits ionic bonding is NaCl.