Option (C) is correct.
Explanation: Assign the electrons of each bond to the more electronegative atom.
- O–H bond: oxygen (3.5) is more electronegative than hydrogen (2.1), so oxygen takes this pair and H is +1.
- O–F bond: fluorine (4.0) is more electronegative than oxygen (3.5), so fluorine takes this pair and F is −1.
Oxygen gains one electron from the O–H bond and loses one to fluorine, so its oxidation state is
x+(+1)+(−1)=0⇒x=0
This is a rare compound in which oxygen is neither negative nor positive, because it sits between a less electronegative and a more electronegative partner.
- (A) applies the usual rule "oxygen is −2", which fails whenever oxygen is bonded to fluorine.
- (B) is oxygen's state in OF2, where both partners are fluorine.
- (D) counts the H as +1 but ignores the fluorine, as if the O–F bond did not change the electron count.