The correct option is A O−2
Electronic configuration of CO,CN− and NO+ (14 electrons):
σ1s2σ∗1s2σ2s2σ2s2σ∗2s2π2p2x=π2p2yσ2p2z
As there are no unpaired electrons, they are diamagnetic in nature.
Electronic configuration of O−2:
σ1s2σ∗1s2σ2s2σ∗2s2σ2p2zπ2p2x=π2p2yπ∗2p2x=π∗2p1y
It contains 1 unpaired electron and so it is paramagnetic in nature.