magnetic force on a current carrying wire is given as
[tex]F = i(L x B)[/tex]
[tex]F = i L B sin\theta[/tex]
so it is proportional to
(i) current in the wire (i)
(ii) strength of magnetic field (B)
(iii) length of the wire (L)
so correct answer would be
B) Length