It is possible to distinguish the AC and DC using magnetic effect. Both AC and DC can produce magnetic field but only AC can produce a varying magnetic field. So, using DC, current cannot be induced into another conductor. It can only be done using AC.