Answer
d) all of above
Work Step by Step
Internally irreversibility generates entropy and also heat transfer also accompany entropy transfer. If system is in equilibrium with surrounding always i.e. quasi-static process then entropy remains constant throughout the system.