From the following list of substances, choose one substance in each case which matches the description given below:
Ammonium nitrate, Calcium hydrogen carbonate, copper carbonate, lead nitrate, potassium nitrate, sodium carbonate, sodium hydrogen carbonate, zinc carbonate.
(a) A Substance that gives off only oxygen when heated.
(b) A Substance which on heating decomposes into dinitrogen oxide (nitrous oxide) and steam.
(c) A Substance that gives off oxygen and nitrogen dioxide when heated.
(d) A Substance which on heating leaves a yellow residue.