Note : In the following questions a statement of assertion followed by a statement of reason is given. Choose the correct answer out of the following choices.
Haloalkanes react with AgCN to form alkyl isocyanides as main product while KCN forms alkyl cyanides as the chief product.