Ethyl chloride reacts with sodium ethoxide to form a compound A. Which of the following reacted to yields A?
Ethanol when reacted with PCl5 gives A, POCl3 and HCl. A reacts with silver nitrite to form B and AgCl . A and B respectively are