(b) light rays become laterally inverted as they pass through a pinhole camera.
On entering the pinhole, the light ray from the tip of the source reaches the base point on the screen of the camera, whereas the light ray from the base of the source reaches the top point on the screen of the camera. In this way, an inverted image is formed on the screen of the camera.