M is a metal that gives coloured compounds. M can be obtained from its oxide by either heating with carbon or by electrolysis. M also reacts with dilute hydrochloric acid. Which metal is M?
- Acopper or magnesium
- Bcopper only
- Ciron or magnesium
- Diron only