c) both direct and alternating current
Because Ampere's Law, a magnetic field is produced whenever an electrical charge is in motion. So, both kind of currents produces a magnetic field when electrical current is flowing through a wire.
5.6m questions
7.3m answers