#include using namespace std; enum Gender { male, female, transgender }; int main() { cout << male<< female<< transgender; return 0; }
The enumerator values start from zero if it is unassigned.
Previous Question Next Question
Your comments will be displayed only after manual approval.