How can a galvanic cell become an electrolytic cell?

Redirected from "What is the chemical formula of a diamond?"