What happens when n-pentyl nitrite reacts with aniline in the presence of HCl in ice-cold solution?
Why is it preferred to use methanol (and not methyl iodide HCHO or HCOOH) for preparing C6H5N(CH3)2 from aniline ?
Use of CH3I forms C6H5—N+ (CH3)3I- as a by-product. While the use of CH2O and HCOOH forms the intermediate electrophile, CH2OH which in turn can attack the activated benzene ring to give
p-NH2, C6H4, CH2OH.