Explanation:
Its direction depends on the direction of the current. ... When the current flows through the solenoid in the clockwise direction, then the magnetic lines of force inside or center of the coil will be along the axis inwards according to Fleming's right hand rule.