The stability of arenediazonium ion is explained on the
basis  of resonance Benzenediazonium chloride is prepared by the reaction of aniline with
nitrous acid at 273-278K Nitrous acid is produced in the reaction
mixture by the reaction of sodium nitrite with hydrochloric acid The
conversion of primary aromatic amines into diazonium salts is known
as diazotisation