The correct option is B (i) and (iii)
Magnesium burns in carbon dioxide because the oxygen in the carbon dioxide is able to bond with magnesium and produce an oxide.
Hence it keeps on burning.
2Mg(s)+CO2(g)→2MgO(s)+C(s)
So the correct option is (i) and (iii).