The correct option is(A): B
B = μ0ni
Now i → 2i
And
\(n→\frac{n}{2}\)
\(B'=μ_0\frac{n}{2}×2i=μ_0ni=B\)

The magnetic field is a field created by moving electric charges. It is a force field that exerts a force on materials such as iron when they are placed in its vicinity. Magnetic fields do not require a medium to propagate; they can even propagate in a vacuum. Magnetic field also referred to as a vector field, describes the magnetic influence on moving electric charges, magnetic materials, and electric currents.