When Zinc oxide is added to dilute HCl, it forms zinc chloride and water and neutralization reaction takes place. In this reaction zinc oxide is basic oxide
ZnO +2HCl → ZnCl2 + H2O
When zinc oxide was added to dilute NaOH. Zinc oxide reacts with sodium hydroxide and it forms zincate sodium and water. In this reaction zinc oxide is acidic oxide
ZnO + 2NaOH→Na2ZnO2 + H2O
Therefore zinc oxide is an amphoteric oxide because it shows both acidic and basic properties.