The correct option is C
The cell reactions are represented as A2+(aq)+2e−→A(s) and B(s)→B2+(aq)+2e−
A(s)A2+(aq)||B2+(aq)|B(s)
The vertical lines || indicate the salt bridge.
A (left side) is at anode so it undergoes oxidation, and it will be represented as an oxidation half reaction, whereas B (right side ) is at cathode so it is represented by reduction half reaction.
The cell reactions are represented as
A(s)→A2+(aq)+2e−andB2+(aq)+2e−→ B(s)