The entire aircraft is pressurized. The 747 was in competition with the C-5 back when the Airforce was in the market for a very large airlifter. Both aircraft are entirely pressurized.
At first glance it might not seem logical to pressurize a cargo aircraft, but it makes sense for several reasons. It is almost impossible to heat an unpressurized aircraft at high altitude, and it is pretty cold up there (-56 C). Alot of stuff would not react well to these temperatures or the condensation formed when the aircraft descends to warmer air. It also makes it possible to ship 'live cargo'. They even have special containers to ship horses in.