A. A light bulb giving off heat but not light
in this case electrical energy is converted into thermal energy.
B. Negatively charged particles causing a bulb to light up
In this example the electrostatic energy is converted into light energy.
C. The light from a star seen in the sky
Here it is the phenomenon of propagation of light.
So example A) is the correct example for electrical energy.