A soft iron bar is inserted inside a current-carrying solenoid. The magnetic field inside the solenoid:
when soft iron bar is inserted inside a current carrying solenoid then it increases the magnetic field inside the solenoid.