Answer:
Both solenoid have same magnetic field.
Step-by-step explanation:
We are given that
Number of turns of solenoid

Cross sectional area of solenoid

Length of solenoid

Number of turns of solenoid

Cross sectional area of solenoid

Length of solenoid

Let current flowing in each solenoid=I
Magnetic field of solenoid=

Magnetic field of solenoid

Magnetic field of solenoid

Hence, both solenoid have same magnetic field.