Secondary amines reacts with para toluene sulfonyl chloride to give a precipitate that is insoluble in \(NaOH\).
Tertiary amines do not react with para toluen.
$C{H_3}CN\xrightarrow{{Na + {C_2}{H_5}OH}}X\xrightarrow{{HN{O_2}}}Y\mathop {\xrightarrow{{{K_2}C{r_2}{O_7}}}}\limits_{{H_2}S{O_4}} Z$
$A\,and\,C\,\xrightarrow{{{\text{Diazotization}}}}\,P + Q\,\xrightarrow[{(ii)\,oxidation\,\left( {KMn{O_4} + {H^ + }} \right)}]{{{\text{(i) Hydrolysis}}}}$$\begin{array}{*{20}{c}} {R\left( {product\,of\,A} \right)} \\ { + \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,} \\ {s\,\left( {prosuct\,of\,C} \right)} \end{array}$