Which of the following could cause a compass needle to point in a completely different direction ?

A. If the person holding it slowly spins in a complete circle.

B.if it is brought near a wire that carries electric current

C. If it is brought near a battery that is not connected to a circuit

D. If sunlight is allowed to strike it for over an hour