Alternating current can not be measured by DC ammeter because
In DC ammeter, a coil is free to rotate in the magnetic field of a fixed magnet.
If an alternating current is passed through such a coil, the torque will reverse its direction each time the current changes direction and the average value of the torque will be zero.