A white solid(X) on treatment with dilute HCl produces a reddish brown gas. The compound (X) gives
a pungent smelling gas (Y) on heating with NaOH soluion. (Y) turns red litmus paper blue and forms a dense
white fumes while a glass rod dipped in conc. HCl is shown over it. Then compound (X) is
(a) NH4NO3 (b) NH4NO2 (c) NaNO2 (d) NH4Br