X is a white powder. The following tests are carried out on X: When a few drops of aqueous sodium hydroxide are added to a solution of X, no precipitate is observed. When X is heated with aqueous sodium hydroxide, no gas is produced. When X is placed in a flame, it gives a lilac colour. If acidified aqueous silver nitrate is added to a solution of X, a yellow precipitate is observed. What is X?
- Aammonium bromide
- Bammonium iodide
- Cpotassium bromide
- Dpotassium iodide