Question
An organic compound (A) with molecular formula C3H5N on boiling with an alkali gives ammonia and sodium salt of an acid (B) with molecular formula C3H6O2. On reduction, (A) gives compound (C) with molecular formula C3H9N which on treatment with nitrous acid gives a compound (D). Identify (A), (B), (C) and (D). Write all the reactions.