Read the following passage and answer questions.
Nucleophiles attack at that part of the substrate molecule which is electron deficient. The reaction in which a nucleophile replaces already existing nucleophile in a molecule is called nucleophilic substitution reaction. Haloalkanes are substrates in these reactions. In this type of reaction, a nucleophile reacts with haloalkane (the substrate) having a partial positive charge on the carbon atom bonded to halogen. A substitution reaction takes place and halogen atom, called leaving group departs as halide ion. Since the substitution reaction is initiated by a nucleophile, it is called nucleophilic substitution reaction.

When KCN reacts with R-X, what is the major product ?
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → Nitrile
The cyanide ion is an ambident nucleophile: it can attack through carbon or through nitrogen (–C≡N:). KCN is predominantly ionic and gives free cyanide ions in solution; the attack takes place mainly through carbon, because the C–C bond so formed is more stable than a C–N bond. The product is an alkyl cyanide (nitrile):
\( \displaystyle \ce{R-X + KCN -> R-C#N + KX} \)
Why the other options are incorrect
Option (1) Alcohol — Incorrect. It is formed with \( \ce{OH-} \) (aqueous KOH), not with cyanide.
Option (2) Ether — Incorrect. It is formed with an alkoxide ion.
Option (3) Isonitrile — Incorrect. It is the main product with AgCN, which is covalent, so the attack takes place through nitrogen.
NCERT (2026-27 edition):
Reactions of Haloalkanes – Table 6.4: Nucleophilic Substitution of Alkyl Halides (R–X)
| Reagent | Substitution product R–Nu | Class of main product |
|---|---|---|
| NaOH (KOH) | ROH | Alcohol |
| H2O | ROH | Alcohol |
| NaOR′ | ROR′ | Ether |
| NaI | R—I | Alkyl iodide |
| NH3 | RNH2 | Primary amine |
| R′NH2 | RNHR′ | Sec. amine |
| R′R″NH | RNR′R″ | Tert. amine |
| KCN | RCN | Nitrile (cyanide) |
| AgCN | RNC | Isonitrile (isocyanide) |
| KNO2 | R—O—N=O | Alkyl nitrite |
| AgNO2 | R—NO2 | Nitroalkane |
| R′COOAg | R′COOR | Ester |
| LiAlH4 | RH | Hydrocarbon |
| R′– M+ | RR′ | Alkane |