Answer: C
The primary amine formed is itself nucleophilic and keeps reacting with alkyl halide to give secondary, tertiary amines and finally a quaternary salt. A large excess of ammonia makes the alkyl halide meet ammonia rather than the product, so the primary amine dominates.