Answer:
direction of magnetic field will change as the direction of current will be changed. So here if we reverse the direction of current then direction of field also reversed.
Step-by-step explanation:
as we know by the formula of solenoid that magnetic field along its axis is given as

here we know that
N = number of turns
i = current
L = length of solenoid coil
now here we know that magnetic field of solenoid is along the axis of the solenoid coil and its direction is given with by right hand rule.
Now if the direction of current is reversed then as per right hand rule the magnetic field direction also get reversed.