When a substance 'A' reacts with water, it produces a combustible gas 'B' and a solution of substance 'C' in water. While another substance 'D' reacts with solution of 'C' to produce the same gas 'B' on reaction with dilute H2SO4 at room temperature. 'A' imparts a deep golden yellow colour to a smokeless flame on Bunsen burner. Identity 'A', 'B', 'C' and 'D' respectively are: