If the pressure, temperature and density of an ideal gas are denoted by \(\mathrm{P}, \mathrm{T}\) ancespectively, the velocity of sound in the gas is
(A) proportional to \(\sqrt{P}\), when \(T\) is constant.
(B) proportional to \(\sqrt{\mathrm{T}}\).
(C) proportional to \(\sqrt{P}\), when \(\rho\) is constant.
(D) proportional to \(\mathrm{T}\).