The empirical formula of an organic compound containing carbon and hydrogen is CH2. The mass of one litre of this organic gas is exactly equal to that of one litre of N2. Therefore, the molecular formula of the organic gas is [EAMCET 1985]
Molar mass of 1L of gas = mass of 1L N2
∴ Molecular masses will be equal i.e., molecular mass of the gas = 28, hence formula is C2H4