The correct option is A 2
The oxidation number of C in HNC is +2.
There is a tripple bond between C and N out of which one bond is coordinate bond and N atom is the donor atom.
Since, the donor atom is more electronegative than acceptor atom, each atom is given 0 oxidation state for the coordinate bond.
For two covalent bonds between C and N, the less electronegative atom is given +1 oxidation number for each covalent bond and N atom is given -1 oxidation number for each covalent bond.