Step 1: Understanding the Concept:
The carbylamine reaction (also known as the isocyanide test) is a characteristic test for primary amines.
Step 2: Detailed Explanation:
When a primary amine (like aniline) is heated with chloroform (CHCl\(_3\)) and a strong base (like alcoholic KOH), it forms an isocyanide (carbylamine), which has a very foul smell. The reaction is:
\[
R-NH_2 + CHCl_3 + 3KOH \rightarrow R-NC + 3KCl + 3H_2O
\]
Aniline (C\(_6\)H\(_5\)NH\(_2\)) gives phenyl isocyanide (C\(_6\)H\(_5\)NC).
Step 3: Final Answer:
Carbylamine is obtained when aniline is heated with CHCl\(_3\) and ethanolic KOH.