An electromagnet is a temporary magnet due to which of the following
The magnet is only present when a current is present
The magnet is only present when the domains are not aligned
The magnet is only present when the current is turned off
The magnet is only present when the resistance is high