The chemical properties and atomic masses of oxygen and carbon are different. This was explained in:
According to Dalton's atomic theory, properties of all the atoms of an element are the same while atoms of different elements have different properties and atomic masses.
Hence, chemical properties and atomic masses of the atoms of oxygen and carbon are different.