Answer:
The bell will not work as the Hammer will be attracted to the Gong and it will remain attracted because if there was an electromagnet the hammer will be released as soon as we stop pressing the switch but a Bar magnet is a permanent magnet and once it will get attracted to the Gong it will remain attracted.
Step-by-step explanation:
Hope that helps!