An organic compound A reacts with methyl magnesium iodide to form an addition product, which on hydrolysis forms the compound B. Compound B gives blue coloured salt in Victor-Meyer test. The compounds A and B respectively are