An ester (A) with molecular formula \(C_9H_{10}O_2\) was treated with excess \(CH_3MgBr\) and the compound so formed was treated with conc. \(H_2SO_4\) to form olefin (B). Ozonolysis of B gave ketone with formula \(C_8H_8O\) which shows positive iodoform test. The structure of A is :
Show Hint
Iodoform test → always look for \(CH_3CO-\) group (methyl ketone).