<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Assume the follwing code</DIV>
<DIV> </DIV>
<DIV>class A</DIV>
<DIV>{</DIV>
<DIV> public:</DIV>
<DIV> enum E { // E is EnumDecl</DIV>
<DIV> ec1, // EnumConstantDecl</DIV>
<DIV> ec2</DIV>
<DIV> };</DIV>
<DIV> </DIV>
<DIV> void foo()</DIV>
<DIV> {</DIV>
<DIV> E eVar = ec1; // this is a DeclStmt, but what is the type of eVar and ec1?</DIV>
<DIV> }</DIV>
<DIV>};</DIV>
<DIV> </DIV>
<DIV>In the above code we know that the line E eVar = ec1; is a DeclStmt. What are the subcomponents of that.</DIV>
<DIV> </DIV>
<DIV>What is the type of ec1?.</DIV>
<DIV> </DIV></td></tr></table><br>