(i) Hydrogen chloride gas is prepared by treating Sodium chloride with concentrated sulphuric acid. The HCl gas is passed through a drying agent to remove moisture where concentrated sulphuric acid plays the role of dehydrating agent as well.
(ii) NaCl+H2 SO4 →NaHSO 4 +HCl(g)
Hope it helps :)