Two like magnetic poles :
(a) repel each other
(b) attract each other
(c) first attract each other, then repel
(d) neither attract nor repel.
Two like magnetic poles repel each other. Hence, the correct choice is (a).