The correct option is C
Pt(s)|H2(g)|H+(aq)||AgCl(aq)|Ag(s)
In the given reaction,
H2 gets oxidised to H+ in galvanic cell and Ag+ get reduced to Ag.
In galvanic cell, oxidation occurs at anode half cell and reduction occurs at cathode half cell.
Rules for Cell representation:
1. Anode half cell should be on left side and cathode half cell should be on right side.
2. Separation of two phase should be shown by vertical line (∣). This line indicates phase boundary.
3. If various material present in the same phase, it should be shown together with commas (,).
4. The salt bridge is represented by double slash (∣∣) between the two half cells.
5. The significant features of the substance like pressure of a gas, concentration of ions, etc. should be indicated in brackets immediately after writing the substance.
Pt(s)| H2(g)|H+(aq) forms anode half cell
AgCl(aq)|Ag(s) forms cathode half cell
∴ The cell representation can be written as
Pt(s)|H2(g)|H+(aq)||AgCl(aq)|Ag(s)
Hence, the correct option is C