The Question has already been answered, but I would like to add that the life cycle of a specific star strongly depends on ist initial mass. If a star starts out very massive, it will largely produce Energy by the CNO-Fusion cycle and as already said, this star would have many convection layers...