The correct option is D It is a permanent magnet.
An electromagnet is made by winding an insulated wire around a magnetic material. An electromagnet behaves like a standard magnet but only with an electrical influence. When the power generation to an electromagnet stops, the production of the magnetic field also stops. Thus an electromagnet is a temporary magnet and not a permanent magnet. It has many applications like fans, radio, motors, bells, etc.