A term newborn presents with frothing, excessive drooling and coughing with feed

A term newborn presents with frothing, excessive drooling and coughing with feeds. There was a history of polyhydramnios in the antenatal period. A chest X-ray was done which showed the following finding.

What is the diagnosis?

A. Achalasia cardia

B. Esophageal atresia only

C. Esophageal atresia with tracheoesophageal fistula

D. Hypertrophic pyloric stenosis

Ans C