Identify the substances based on the information given below and choose the correct option:
The deliquescent salt P, turns yellow on dissolving in water, and gives a reddish brown precipitate with sodium hydroxide solution.
Ferric chloride
Magnesium chloride
Zinc chloride
Barium chloride
Ammonium chloride
Ferric chloride
Ferric chloride