The process of purification of an impure metal is like :
(a) electroplating a metal on the same type of metal
(b) electroplating a metal on another type of metal
(c) producing a chemical compound by electrolysis
(d) decomposing a chemical compound by electrolysis.