The correct option is A the two extremes
Most of the pins stick at the two extreme ends of the bar magnet because the magnetic field is maximum at the ends of the magnet. The ends of the magnet where the strength of the magnet is the highest, are called the poles of a magnet.