The correct option (c) A is diamagnetic and B is paramagnetic with two unpaired electrons.
Explanation:
In cyano complex K2[Ni(CN)4], complex ion is [Ni(CN)4]2- and Ni is present as Ni2+ or Ni (II), so

In it unpaired electron is not present, so it is diamagnetic in character (square planar shape)
In chloro complex K2 [Ni(Cl)4], complex ion is [N(Cl)4]2- and Ni is present as Ni2+ or Ni (II), so
Ni2+ = 1s2, 2s2 2p6, 3s63d8,4s0
In [Ni(Cl4)]2- ion, Ni2+ is present as follows due to weaker ligand character of Cl- ion. (Cl- is weak field ligand). So it is unable to pair up the electron and Ni2+ needs four empty orbitals to accommodate four Cl- ligand. Thus, (NiCl4)2- shows sp3-hybridisation (Tetrahedral shape)

Hence, due to presence of unpaired orbitals, it is paramagnetic in character.