Answer :
[tex]MgCO_3--^T-->MgO + CO_2\uparrow[/tex]
the oxidation number of carbon in MgCO3 = +IV
the oxidation number of carbon in CO2 = +IV
so, there is no change
the oxidation number of carbon in MgCO3 = +IV
the oxidation number of carbon in CO2 = +IV
so, there is no change