In CO, the oxidation number of C is , and that of O is . In H2, the oxidation number of H is . In CH3OH, the oxidation number of C is , that of O is , and that of H is .
In CO, the oxidation number of C is:+2
In H2, the oxidation number of H is:0
In CH3OH, the oxidation number of C is:-2