Dalton’s law is applicable only to non-reacting gaseous mixture. NH3 and HCl react to form NH4Cl. So, Dalton's law is not applicable here.
Dalton’s law of partial pressure is not applicable to a mixture of