Which of the following is the use of electrolysis?
(a) electro-refining
(b) electroplating
(c) both (a) and (b)
(d) none of these