Step 1: Understanding the Concept
KCN is largely ionic and gives the cyanide ion, which attacks through its carbon atom.
Step 2: Reaction
\(\text{R-X}+\text{KCN}\rightarrow\text{R-CN}+\text{KX}\).
Step 3: Compare the options
\(\text{R-CN}\) is an alkyl cyanide, also called an alkyl nitrile, option (D).
Alkyl isocyanide forms mainly with AgCN.
Final Answer:
The product is an alkyl nitrile.
\[ \boxed{\text{(D) }\text{Alkyl nitrile}} \]