ionic because its metal and non metal
Ionic
Ionic
ionic
Ionic
Ionic
ionic
Ionic
Ionic
ionic bond..
Magnesium itself is held together by metallic bonds, which are neither ionic nor covalent. Its compounds would tend to have ionic bonds.
Carbon dioxide has covalent bonds.
covalent