What will occur when the north pole of one bar magnet is moved near the north pole of another bar magnet?

One north pole will switch and become a south pole.

The ends will repel each other.

The ends will attract one another.

Both poles will become south poles.