Step 1: Recall the rule
At the anode oxidation occurs, which means a species loses electrons.
Step 2: Ions present
Molten NaCl has \(Na^+\) and \(Cl^-\). Only \(Cl^-\) can lose electrons: \(2Cl^-_{(l)} \rightarrow Cl_{2(g)} + 2e^-\).
Step 3: Why others are wrong
(A) is reduction of \(Na^+\) at the cathode. (B) is not the reaction in the cell, since solid sodium is not at the anode. (C) is the reverse of (D) and is a reduction.
Final Answer:
Chloride ions are oxidised at the anode.
\[ \boxed{\text{(D)}\ 2Cl^-_{(l)} \rightarrow Cl_{2(g)} + 2e^-} \]