Phenol on treatment with in the presence of NaOH followed by acidification produces compound X as the major product. X on treatment with in the presence of catalytic amount of produces:
Key idea: Kolbe's reaction gives salicylic acid; acetylation of its phenolic OH gives aspirin.
Answer: (B)