Correct option is C
In a transformer, the alternating current (AC) in the primary winding creates a magnetic flux in the core that varies periodically. This flux changes both in magnitude and direction as it follows the alternating nature of the AC supply. The flux increases and decreases in magnitude and reverses direction with each cycle of the AC input.
Therefore, the flux produced by the primary in the core of a transformer varies both in magnitude and direction.