A metal (X) dissolves both in dilute HCl and dilute NaOH to liberate H2. Addition of NH4Cl and excess NH4OH to an HCl solution of X produce Y as a precipitate. Y is also produced by adding NH4Cl to the NaOH solution of X. The species X and Y, respectively, are
ZnCl2 gives no ppt with NH4Cl+NH4OH solution. But AlCl3 gives gelatinious white ppt of Al(OH)3 with NH4Cl+NH4OH.