On which of the following factor, the direction of deflection of a magnetic needle of a compass depends when the compass is kept near a current carrying wire?
Direction of current flowing through the circuit
When a current flows through a wire, magnetic field will be produced in it. Thus when a compass is kept near the wire, the magnetic needle of the compass gets deflected.
Therefore, we can say that, the deflection of the magnetic needle depends on the direction of flow of current.