Identify the salts P from the observation given below:
On performing the flame test salt P produces a lilac-colored flame and its solution gives a white precipitate with silver nitrate solution, which is soluble in ammonium hydroxide solution.
About the flame test:
Therefore the compound P is Potassium chloride.