The correct option is B CN−
Ambidentate ligand is the one which has multiple possible donor sites but will donate through only one of the site in CN−, electrons are present on carbon as well as on nitrogen, making it ambidentate.
CO has electron density only on carbon, since making bond with oxygen will increase its octet. Hence it is not possible.
CO2 and H2O both have electron availability on oxygen only.