The correct option is B ΔS=nR In (pipf)
For an ideal gas undergoing reversible expansion, when temperature changes from Ti to Tf and pressure changes from pi to pf,
ΔS=nCp In TfTi+nR In PiPf
For an isothermal process, Ti=Tf so, In 1 = 0
∴ ΔS=nR In PiPf