By definition we have:
Class A: Fire of solid combustible materials (wood, fabrics, paper, rubber, etc.). For their extinction, they require cooling, that is, the temperature component is eliminated. Water is the ideal extinguishing substance. Class A, ABC or chemical foam fire extinguishers are used.
Class B: Fire of combustible liquids (paints, greases, solvents, naphthas, etc.) or gases. They are turned off by removing the air or interrupting the chain reaction. Fire extinguishers BC, ABC, AFFF (chemical foam) are used.
Class C: Fire of low voltage electrical equipment. The extinguishing agent must not conduct electricity, so water can not be used (fire extinguisher Class A or chemical foam). Are used Class BC or ABC fire extinguishers. (Once the current is cut off, water or Class A extinguishers or AFFF chemical foam can be used).
Class D: Fire of certain combustible metals (magnesium, titanium, zirconium, sodium, potassium, etc.). They require fire extinguishers with special chemical powders.
Answer:
The best fire extinguisher for an electrical fire
c. class c