Q. Ethanoic acid on heating with ammonia forms compound $A$ which on treatment with bromine and sodium hydroxide gives compound $B$. Compound $B$ on treatment with $NaNO_2$/dil. $HCl$ gives compound $C$. The compounds $A, B$ and $C$ respectively are
Solution: