The correct option is A heating
A permanent magnet can be demagnetized or can loose its magnetism if it is heated at appropriate temperature. Due to heating, the orientation of domains of the magnet changes and its magnetic properties are reduced or lost completely.