Correct option is B
In a DC shunt generator, both the stator (field windings) carry Direct current (DC) and the rotor (armature windings) carry Alternating current (AC).
Stator (Field Windings):
The field windings, also known as the shunt field windings, are connected in parallel (shunt) with the armature windings.
These windings are excited by a DC source to produce a steady magnetic field.
Rotor (Armature Windings):
The armature windings are located on the rotor, where the mechanical energy is converted into electrical energy.
As the rotor turns within the magnetic field produced by the stator, an electromotive force (EMF) is induced in the armature windings according to Faraday's Law of Electromagnetic Induction.
Although the EMF induced in the armature is initially alternating, the commutator and brushes on the rotor rectify this alternating current (AC) into direct current (DC).