The correct option is A CO2 and SO2 respectively
Sodium carbonate on reaction with hydrochloric acid liberates carbondioxide and sodium sulphite on reaction with hydrochloric acid liberates sulphurdioxide
Na2CO3+2HCl→2NaCl+H2O+CO2
Na2SO3+2HCl→2NaCl+H2O+SO2