The cyanide ion is an:
Ambidentate Nucleophile
It can attack through either:
Carbon
or
Nitrogen
When ethyl chloride reacts with:
AgCN
the product formed is different from that obtained with:
NaCN
Silver cyanide is predominantly covalent.
Hence, the carbon atom remains strongly bonded to silver, and the nitrogen atom attacks the alkyl halide.
CH3CH2Cl+AgCN⟶CH3CH2NC+AgCl
Thus, compound A is:
Ethyl Isocyanide (CH3CH2NC)
Sodium cyanide is ionic and dissociates completely to give free:
CN−
ions.
Attack occurs mainly through carbon because formation of a:
C−C
bond is more stable.
CH3CH2Cl+NaCN⟶CH3CH2CN+NaCl
Thus, compound B is:
Ethyl Cyanide (CH3CH2CN)
also called:
Propanenitrile
Thus, the right option is C.