The major product in the following reaction is

From the KVPY 2016 · Streams SB/SX paper. Try it, check your answer, then read the worked solution below.
The major product in the following reaction is

Try it yourself first, then check your working against this.
Worked solution
Acetic anhydride acetylates the phenolic OH of salicylic acid:
This is structure B.
(B)
Concepts used: O-acetylation of salicylic acid gives aspirin
Every past question tagged to the same part of the syllabus, with solutions.
All KVPY questions on Alcohols, Phenols and Ethers · All KVPY questions on Carboxylic Acids and Derivatives
Past questions on the same topic (Phenols), each with a worked solution.
Timed, in the real format, and marked the moment you submit.