Correct IUPAC name of the following compound is
3-Amino-5-hydroxybenzaldehyde
Let's look at the structure.
We have a benzene ring here with three different functional groups attached to it.
According to priority,
CHO > OH > NH2
Now,
If different groups are attached to the benzene ring, then the following rules are kept in mind,
(a) The principal group is fixed as umber 1.
(b) The numbering of the chain is done in any direction (clockwise or anticlockwise) which gives lower number to the substituent.
(c) The substituents are written in alphabetical order.
Now,
Primary suffix → Benzene
Secondary suffix → owaldehyde
Now, our principal group is CHO.
Now,
Give numbering
Therefore,
3-Amino-5-hydroxybenzaldehyde