An unknown inorganic compound (X) gave the following reactions.
(i) the compound (X) on heating gave a residue, oxygen and oxide of nitrogen.
(ii) an aqueous solution of compound to tap water gave a turbidity which did not dissolve in HNO3
(iii) the turbidity dissolved in NH4OH.
Identify the compound (X) :