What effect will there be on a magnetic compass when it is brought near a current carrying solenoid?
The needle of the compass will rest in the direction of magnetic field due to solenoid at that point.