(c) 2 K+Cl2→2KCl
An oxidizing agent oxidizes other substances either by accepting electrons or by providing oxygen or an electronegative ion, or by removing hydrogen or an electropositive ion.
Cl2+2e−→2Cl−
Since chlorine accepts electrons to form Cl−in KCl and K undergoes oxidation. Chlorine acts as an oxidizing agent and gets reduced.