The correct option is B Irreversible
According to second law of Thermodynamics, for a spontaneous process, the total entropy change for a system and its surroundings increases.
And, all irreversible processes are spontaneous. Whereas, as we have already seen both endothermic and exothermic processes can be spontaneous