The correct option is C It aligns with the Earth's magnetic field even when another magnet is brought near it.
The needle of a magnetic compass, itself being a magnet, can attract all kinds of magnetic materials. In the absence of external magnets, it always comes to rest in the North-South direction due to the Earth's magnetic field. When a magnet is brought near it, it aligns itself according to the magnetic field of the magnet.