Normally the specific heat of a gas varies from zero to infinity are shown here. We have ∆Q = mC∆T, hence specific heat, C = \(\frac{∆Q}{m∆T}\)
(i) When a gas is compressed, its temperature rises without any heat supplied. This mean ∆Q = 0, ∆T ≠ 0 hence, C = 0.
(ii) When a gas is expanded and heated simultaneously, its temperature rise can be zero. Hence ∆Q ≠ 0, ∆T = 0. Hence, C = ∞.