Given below are two statements: one is labelled as Assertion (A) and the other is labelled as Reason (R). [2024]
Assertion (A): Haloalkanes react with KCN to form alkyl cyanides as a main product while with AgCN form isocyanide as the main product.
Reason (R): KCN and AgCN both are highly ionic compounds.
In the light of the above statements, choose the most appropriate answer from the options given below:
(1)
KCN is an ionic compound and predominantly exists as and . In both C and N have lone pairs and can participate in nucleophilic substitution reactions with haloalkanes. But C donates its lone pair in preference to N and cyanide is formed as chief product.

AgCN is a covalent compound; hence, carbon does not have a free lone pair to react . As only nitrogen has a lone pair, it reacts with haloalkanes to form isocyanides.
