Answer: A
The compound shown is 3-methylaniline. Diazotisation gives the diazonium salt, which on warming in water is hydrolysed (nucleophilic substitution by water with loss of NX2) at the same ring carbon. The hydroxyl takes the position of the diazonium group, giving 3-methylphenol (m-cresol).