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

<pre><code>enum math_students {A,B,C};
enum comp_students {D,E,A}; // illegal
</code></pre>
