Which of the following are likely to form an ionic bond?

silicon and oxygen
magnesium and oxygen
carbon and hydrogen
oxygen and oxygen

Magnesium and oxygen.