A red solid is insoluble in water. However it becomes soluble if some KI is added to water. Heating the red solid in a test tube results in liberation of some violet coloured fumes and droplets of a metal appear on the cooler parts of the test tube. The red solid is
(a) (NH4)2Cr2O7
(b) HgI2
(c) HgO
(d) Pb3O4.