Q. An aromatic compound 'P' having molecular formula $C_{7}H_{6}O_{2}$ on treating with aqueous ammonia and heating forms compound 'Q'. The compound 'Q' on reaction with molecular bromine and potassium hydroxide provides compound 'R' having molecular formula $C_{6}H_{7}N$ . The structure of compound 'P' is
NTA AbhyasNTA Abhyas 2020
Solution: