The correct option is C Density and elasticity of gas
Sound propagate through a medium following the Newton-Laplace equation: The velocity of sound is v=√(K/ρ) where, K=the modulus of bulk elasticity for gases and ρ= density of the medium. So v depends on both of them.