A mixture of two colourless substance was dissolved in water. When gaseous Cl2 was passed through the solution, containing small quantity of CCl4 a violet colour developed in organic layer. Addition of BaCl2 to the original solution give a white precipitate. The mixture contains :
(A) NaNO3 and AlCl3
(B) NaBr and KCl
(C) MgI2 and MgSO4
(D) BaSO4 and PbCl2