JEE Main
Compounds Containing Nitrogen PYQJEE Main 2021 (Online) 25th July Evening Shift

Solution
Correct option: D
The major product is option D.
Identify the functional group change
The given substrate is treated under conditions that first convert the nitrogen-containing group into the corresponding diazonium intermediate.
Apply diazonium substitution
The diazonium group is then replaced by the required substituent shown in the reaction sequence, while the rest of the ring framework remains unchanged.
Match the product
Among the given structures, only option D has the same ring substitution pattern and the correct group introduced at the diazonium position.
