Step 1: Understanding the Concept
Isopropyl cyanide is \((\text{CH}_3)_2\text{CH-CN}\). The halide must therefore be an isopropyl halide, such as 2-bromopropane \(\text{CH}_3\text{-CHBr-CH}_3\).
Step 2: Role of the cyanide reagent
KCN is ionic and gives free \(\text{CN}^{-}\), which attacks through carbon and forms the nitrile (cyanide). AgCN is largely covalent, so attack occurs through nitrogen and the isocyanide is formed.
Step 3: Reaction
\(\text{CH}_3\text{-CHBr-CH}_3 + \text{KCN} \rightarrow (\text{CH}_3)_2\text{CH-CN} + \text{KBr}\)
Step 4: Compare the options
The n-propyl halides in options A and D would give n-propyl products. Option C gives the isocyanide.
Final Answer:
2-Bromopropane with alcoholic KCN gives isopropyl cyanide.
\[ \boxed{\text{(B) }\text{CH}_3\text{-CHBr-CH}_3\text{ and alcoholic KCN}} \]