d
(Both solenoids are taken to be ideal in nature.)
Both wires will attract each other, but net force on each wire will be zero.
Concept: Two current carrying elements attract each other if direction of current is same.
$\overrightarrow {{F_1}} =\overrightarrow {\;{F_2}} =0$
