From the list of the following salts choose the salt that most appropriately fits the description in the following:
(i) On heating this salt gives a yellow residue when hot and white when cold.
(ii) On heating this salt, a brwon-colored gas is evolved.
(i) Salt on heating gives a yellow residue when hot and white when cold:
(ii) Salt on heating brown-colored gas is evolved: