Oxidation number of C in CO2 is:
+2
+4
-2
-4
Oxygen is assigned the oxidation number -2 in its simple oxides. so,
x + 2(-2)=0
x = 4
What is the oxidation number of carbon in CO2?