Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

When aniline reacts with excess of alkyl halide, it gives:
A. Amino compound
B. Tertiary compound
C. Azomethane
D. Quaternary ammonium compound

Answer
VerifiedVerified
161.7k+ views
Hint: Aniline is a nucleophile meaning nucleus loving or electron rich species. Again alkyl halide is an electrophile meaning electron loving or an electron deficient species. When aniline reacts with alkyl halide a substitution type reaction takes place.

Complete Step by Step Solution:
A nucleophile is a species which is electron rich and attacks an electrophile. Aniline is a nucleophile due to the presence of high electron density in aniline.

An electrophile is a species which is electron deficient and reacts with a nucleophile. Alkyl halide is an electrophile due to the presence of three strong electron withdrawing halide atoms which attracts its electron and decreases the electron density.

When aniline reacts with alkyl halide a substitution reaction takes place where the halide ion get replaced by $N$ atom of aniline and on addition with excess alkyl halide all the hydrogen atoms and lone pair of $NH_2$ group are replaced by methyl groups and a quaternary ammonium compound is formed as a product. The reaction is as follows:

Thus the correct option is $D$.

Note: Aniline is a basic compound. It acts as a strong base in acidic solution due to high electron density and presence of unpaired electrons on nitrogen atoms of aniline. Again due to high electron density it acts as a nucleophile. Where a nucleophile is an electron dense species and nucleus loving.