The correct choice is (d) quaternary ammonium salt
The explanation is: When an excess of alkyl halide is used, the presence of a base will allow the excess hydrogen halide formed to be consumed, resulting in the formation of quaternary ammonium salt as a major product.