Answer: B
Heating the acyl azide expels NX2 with simultaneous migration of phenyl from carbon to nitrogen (Curtius rearrangement), giving phenyl isocyanate, CX6HX5−N=C=O. In dry ethanol the alcohol adds to the isocyanate, giving the carbamate. Aniline would form only after hydrolysis with water.