A magnetic compass shows a deflection when placed near a current-carrying wire

A magnetic compass shows a deflection when placed near a current-carrying wire. How will the deflection of the compass get affected if the current in the wire is increased? Support your answer with a reason.

If the current in the wire is increased, the deflection increases. The strength of magnetic field is directly proportional to the magnitude of current passing through the straight conductor.