In which of the following compounds, an element exhibits two different oxidation states.
(i) NH2OH
(ii) NH4NO3
(iii) N2H4
(iv) N3H
The correct option is (ii) NH**4NO3**