Concept:
- Diazotisation: a primary aromatic amine reacts with \(\mathrm{NaNO}_{2}\) and \(\mathrm{HCl}\) at \(273\)–\(278\,\text{K}\) to give an arenediazonium chloride.
- Sandmeyer reaction: a diazonium salt treated with a copper(I) salt (\(\mathrm{CuCl}\), \(\mathrm{CuBr}\) or \(\mathrm{CuCN}\)) replaces the \({-}\mathrm{N}_{2}^{+}\) group by \({-}\mathrm{Cl}\), \({-}\mathrm{Br}\) or \({-}\mathrm{CN}\), with loss of \(\mathrm{N}_{2}\).
Step 1: Identify compound A
\(\mathrm{NaNO}_{2}\) and \(\mathrm{HCl}\) generate nitrous acid in the reaction mixture. At \(278\,\text{K}\) aniline is diazotised: \[ {\mathrm{C}_{6}\mathrm{H}_{5}\mathrm{NH}_{2} + \mathrm{NaNO}_{2} + 2\,\mathrm{HCl}\ \xrightarrow{278\ \mathrm{K}} \mathrm{C}_{6}\mathrm{H}_{5}\mathrm{N}_{2}^{+}\mathrm{Cl}^{-} + \mathrm{NaCl} + 2\,\mathrm{H}_{2}\mathrm{O}} \] So A is benzene diazonium chloride. The low temperature matters, because on warming the aqueous salt decomposes to phenol.
Step 2: Identify compound B
A is then heated with cuprous cyanide. The diazonium group is a very good leaving group (it departs as \(\mathrm{N}_{2}\) gas), and the cyano group from \(\mathrm{CuCN}\) takes its place: \[ {\mathrm{C}_{6}\mathrm{H}_{5}\mathrm{N}_{2}^{+}\mathrm{Cl}^{-}\ \xrightarrow[{\Delta}]{\mathrm{CuCN}} \mathrm{C}_{6}\mathrm{H}_{5}\mathrm{CN} + \mathrm{N}_{2}\uparrow + \mathrm{CuCl}} \] In the net sense the diazonium group \({-}\mathrm{N}_{2}^{+}\) is replaced by \({-}\mathrm{CN}\), so B is benzonitrile.
Step 3: Rule out the other pairs
“Nitrobenzene and chlorobenzene” is not possible, because diazotisation does not oxidise \({-}\mathrm{NH}_{2}\) to \({-}\mathrm{NO}_{2}\). “Phenol and bromobenzene” needs hydrolysis of the diazonium salt and then a bromide reagent, neither of which fits these conditions. “Fluorobenzene and phenol” would need \(\mathrm{HBF}_{4}\) followed by heating (Balz–Schiemann reaction) to introduce fluorine. None of these uses the cold \(\mathrm{NaNO}_{2}\)/\(\mathrm{HCl}\) step followed by \(\mathrm{CuCN}\).
Step 4: Conclusion
A is benzene diazonium chloride and B is benzonitrile. Hence, the correct option is (A), “Benzene diazonium chloride and benzonitrile”.