The correct option is C equal to heat given to the system.
In a cyclic process, since the system returns to its initial state, the change in internal energy must be zero. Therefore, by first law of thermodynamics, the net heat given to the system must be equal to the net work done by the system.