The correct option is C Electrolysis of water
The pure hydrogen gas around 99.9% is prepared by electrolysis of water.
In electrolysis of water, the dissociation of the water molecule into hydrogen gas and oxygen gas is done by use of electric energy.
Reduction:
2H2O(l)+2e−→H2(g)+2OH−(aq)
Oxidation :
4OH−(aq)→O2(g)+2H2O(l)+4e−
In the oxidation reaction, oxygen atoms are oxidized and in reduction reaction, hydrogen atoms are reduced.
The oxidation reaction occurs at anode and the reduction reaction occurs at cathode.
The overall reaction can be given as:
2H2O(l)→2H2(g)+O2(g)
Purest form of hydrogen is obtained by electrolysis
However, this method of production of hydrogen gas is very costly so it is not widely used. Currently, most of thr hydrogen is obtained from petrochemicals.