Enumeration type with some same values
Why declaration of two enums type with same values in same block is not allowed in C++?

    enum math_students {A,B,C};
    enum comp_students {D,E,A}; // illegal


Enumeration type with some same values
===

Why declaration of two enums type with same values in same block is not allowed in C++?

    enum math_students {A,B,C};
    enum comp_students {D,E,A}; // illegal

