How is an electromagnet different from a bar magnet?
A) Only a bar magnet has a magnetic field.
B) Only an electromagnet attracts materials made of iron.
C) An electromagnet is temporary and is magnetic when a current flows through a wire wrapped around the core.
D) A bar magnet is a temporary and is only magnetic when a current flows through a wire wrapped around the core.