When an alkyl halide reacts with an ethanolic solution of ammonia, a mixture of primary, secondary, and tertiary amines, and finally a quaternary ammonium salt is often obtained. This process is known as:
The NCERT text explicitly states, 'This process of cleavage of the C–X bond by ammonia molecule is known as ammonolysis. ... The primary amine thus obtained behaves as a nucleophile and can further react with alkyl halide to form secondary and tertiary amines, and finally quaternary ammonium salt.'