The correct option is B → at A and ← at B
Answer is D.
Magnetic lines of force, do not actually exist but are imaginary lines used to illustrate and describe the pattern of the magnetic field. The magnetic lines of force are assumed to emanate from the north pole of a magnet, pass through surrounding space, and enter the south pole. The lines of force then travel inside the magnet from the south pole to the north pole, thus completing a closed loop.
Hence, the direction of the magnetic field is towards A and is runs away from B. That is,