The correct answer is: C. Both A & B
A permanent magnet can affect both magnets and electromagnets.
A permanent magnet is a magnet that retains its magnetic properties after being magnetized. This is in contrast to an electromagnet, which is a magnet that is created by an electric current.
Permanent magnets can affect other magnets by attracting or repelling them. The strength of the attraction or repulsion depends on the strength of the magnetic fields of the two magnets.
Permanent magnets can also affect electromagnets. If a permanent magnet is placed near an electromagnet, it can cause the electromagnet to become stronger or weaker. This is because the magnetic field of the permanent magnet can interact with the magnetic field of the electromagnet.
In conclusion, a permanent magnet can affect both magnets and electromagnets. The strength of the effect depends on the strength of the magnetic fields of the two objects.