Recall the definition of magnetic poles. In a bar magnet, its strength is concentrated at the ends.
Compare the magentic lines of force due to a bar magnet and a current carrying conductor.
How does the shape of magnetic lines of force change when a current carrying conductor is bent to form a circular coil ?