The correct option is C.
An ionic compound is one which is made up of ions, which are held together by electrostatic force called ionic bonding. The compounds are usually made up of electrically charged particles, they have high melting and boiling points and they are good conduct of electricity. Ionic compounds are typically made up of metals and non metals.
Thus, CO2 is not an ionic compound, it is a covalent compound.