The correct option is B 2:1
The chemical formula of water is H2O. On electrolysis, water decomposes to produce hydrogen and oxygen gases as shown below:
2H2O (l) → 2H2 (g) + O2 (g)
The ratio of the volumes of hydrogen and oxygen obtained on electrolysis of water is 2:1. This is because, one molecule of water contains two hydrogen atoms and one oxygen atom in it.