Explanation :
From real gas equation
PV = nRT
where,
P is the pressure of the gas
V is the volume of gas
n is the number of moles
R is the gas constant
T is the temperature
According to Gay-Lussac’s law, at constant volume pressure of the gas is directly proportional to the temperature on the Kelvin scale.
so, as pressure increases keeping volume constant then the temperature will also increase.
Hence, on increasing P the ratio of PV to nRT also increases.