When the current is switched on through a wire, a compass needle kept nearby gets deflected from its north-south position. Explain
A compass needle kept nearby gets deflected from its north-south position, when the current is switched on through a wire, this happens because when an electric current is passed through a conducting wire, a magnetic field is created around the wire. The magnetic field causes deflection in the magnetic compass.