The oxidation state of O in OF2 is
-2
+2
-1
+1
Here, we can see that F is more electronegative than O and halogens have oxidation state as -1. Therefore, n+2(-1)=0 n = +2
The oxidation state of O in OF2is:
The oxidation state of Cl in CaOCl2 is