A white precipitate was formed when BaCl2 was added to water extract of an inorganic salt. Further, a gas 'X' with characteristic odour was released when the formed white precipitate was dissolved in dilute HCl. The anion present in the inorganic salt is :
(A) I–
(B) SO3 2–
(C) S2–
(D) NO2 -