When the size of the container is reduced while keeping the temperature constant, the molecules of the gas have less space to move around, which leads to more frequent collisions with the walls of the container. This results in an increase in pressure.
Therefore, the correct answer is:
C. The pressure increased.