What is the shape of current-carrying conductor whose magnetic field pattern resembles that of a bar magnet?
A current carrying conductor is of solenoid shape whose magnetic field pattern seems to that of the bar magnet.