Identify the inorganic salt A whose aqueous solution gives following reactions.
(i) pale yellow precipitate with AgNO3 solution, insoluble in dil HNO3
(ii) white precipitate with NH4OH and also with NaOH solution. However the precipitate does not dissolve in excess of NH4OH but soluble in excess of NaOH.