In which of the following cases magnetic field is zero at O?