The azo-dye (Y) formed in the following reactions is
Sulphanilic acid + + → X.

From the JEE Main 2024 · 31 Jan · Shift 2 paper. Try it, check your answer, then read the worked solution below.
The azo-dye (Y) formed in the following reactions is
Sulphanilic acid + + → X.

Try it yourself first, then check your working against this.
Worked solution
Sulphanilic acid with and gives the diazonium salt X, which couples with 1-naphthylamine at the position para to the group (position 4).
The dye Y is 4-[(4-aminonaphthalen-1-yl)diazenyl]benzenesulphonic acid, the red-violet azo dye.
(A)
Concepts used: diazo coupling, azo dye
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Diazonium salts), each with a worked solution.
Timed, in the real format, and marked the moment you submit.