The correct option is B −2
Let x be the oxidation number of S.
The oxidation number of carbon is +4 and the oxidation number of hydrogen is −1. The sum of all the oxidation numbers is 0 as the compound is neutral.
Hence, 2(+4+3(−1))+x=0 or, x=−2.
Thus, the oxidation state of sulphur is −2.