A non-planar loop of conducting wire carrying a current is placed as in diagram. Each of the straight section of the loop of length (a). The magnetic field due to this wop ad the point is

None
The magnetic field due to complete loop =(B-field due to planar loop in the y - z planer) + (B-field due to planar loop in the x-y plane)