The direction of line of magnetic field of bar magnet is
A. From south pole to north pole
B. From north pole to south pole
C. Across the bar magnet
D. From south pole to north pole inside the magnet and from north pole to south pole outside the magnet