A beam of electrons passes through a solenoid connected to a power supply. The effect on the beam passing through a current-carrying solenoid is:
a) It is deflected due to the magnetic field generated by the solenoid.
b) Its velocity decreases due to the resistance in the solenoid.
c) It is accelerated due to the electric field generated by the solenoid.
d) It remains unaffected by the solenoid's current.