If you add NaCl to acetic acid, then there will be an equilibrium reaction, but this reaction will be very strongly to the side of NaCl + CH3COOH.
CH3COOH + NaCl <<<<----> CH3COONa + HCl
In practice I think that the amount of HCl will hardly be observable, it will at best be formed in trace amounts.
This reaction with somewhat weak acids can be used to make HCl, if there is another driving force, which takes away the HCl from the system. An
example is heating of a mix of NaHSO4 + NaCl. NaHSO4 is a moderately weak acid, but it is stronger than acetic acid. If you heat a mix of NaHSO4 and
NaCl, then there is an equilibrium with Na2SO4 and HCl. Again, this equlibrium is quite strongly to the side of NaHSO4 and NaCl, but in the hot (e.g.
around 100 C) mix, the HCl is the only gas and then this gas can escape and in this way, the reaction is driven to the side of Na2SO4 and HCl. This
reaction is not a really practical method of making HCl, but enough HCl can be made in this way such that it is clearly visible (fuming).
|