The product of the following reaction is P. The number of hydroxyl groups present in the product P is ________

From the JEE Main 2024 · 31 Jan · Shift 1 paper. Try it, check your answer, then read the worked solution below.
The product of the following reaction is P. The number of hydroxyl groups present in the product P is ________

Try it yourself first, then check your working against this.
Worked solution
Grignard reagents are destroyed by acidic hydrogens. With only one equivalent of PhMgBr, the reagent is consumed by the phenolic O-H, giving the magnesium phenoxide and benzene; the aldehyde is untouched.
The aqueous work-up then protonates the phenoxide, so P is 4-hydroxybenzaldehyde, which carries exactly one hydroxyl group.
Answer: 1: the reproduction gives 0, counting the magnesium phenoxide before the work-up; the question explicitly includes step (ii), aqueous , which restores the O-H, so the worked answer 1 is kept.
Concepts used: Grignard reagent quenched by an acidic hydrogen
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Aldehydes and Ketones · All JEE Main questions on Alcohols, Phenols and Ethers
Past questions on the same topic (Nucleophilic addition), each with a worked solution.
Timed, in the real format, and marked the moment you submit.