The Gatterman reaction is a formylation reaction in which a diazonium salt reacts with carbon monoxide (CO) and hydrogen chloride (HCl) in the presence of a Lewis acid (usually AlCl₃). This reaction results in the formation of an aryl aldehyde. However, when a halide is used instead of the formylating agent, the reaction can produce a haloarene.
For the given options:
Thus, the major product formed when diazonium salt undergoes the Gatterman reaction is haloarene.
What is the product Y in the following chemical reaction? 

