Formulae for sugar and common salt
The chemical formula of sugar is C12H22O11, while that of common salt is NaCl.
The chemical formula of common salt is