The correct option is D -3, +5
As in the formula there are two nitrogen atoms in NH4NO3, but one N atom has a negative oxidation number (attached to hydrogen ) while the other has a positive oxidation number (attached to oxygen ):
N in NH+4 is x+4×1=1⇒x=−3
N in NO−3 is x+3×(−2)=−1⇒x=+5