An ester (A) with mol. formula C9H10O2 was treated with an excess of CH3–MgBr followed by hydrolysis and the product so formed was treated with H2SO4 to give an olefin (B). Ozonolysis of (B) gave a ketone with molecular formula C8H8O, which shows the iodoform test.
The structure of (A) is: