A solenoid is connected to a battery. Which statement about the magnetic field at the centre of the solenoid is correct?
- AThe magnetic field along the axis is zero.
- BThe direction of the magnetic field is at an angle of $45^{\circ}$ to the axis.
- CThe direction of the magnetic field is parallel to the axis.
- DThe direction of the magnetic field is perpendicular to the axis.