title: error with the declaration of enum
body: <p>I have a very simple c code:          </p>
  
  <pre><code>         #include&lt;stdio.h&gt;
          int main()
          {
            enum boolean{true,false};
            boolean bl=false;
            if(bl==false)
               printf("This is the false value of boool\n");
           boolean bl1=true;
            if(bl1==true)
             {
              printf("This is the true value of boool\n");
             }
      return 0;
     }
  </code></pre>
  
  <p>i was just trying to use <strong>enum</strong> type variable .but it is giving following error:</p>
  
  <pre><code>tryit4.c:5: error: ‘boolean’ undeclared (first use in this function)
  tryit4.c:5: error: (Each undeclared identifier is reported only once
  tryit4.c:5: error: for each function it appears in.)
  tryit4.c:5: error: expected ‘;’ before ‘bl’
  tryit4.c:6: error: ‘bl’ undeclared (first use in this function)
  tryit4.c:8: error: expected ‘;’ before ‘bl1’
  tryit4.c:9: error: ‘bl1’ undeclared (first use in this function)
  </code></pre>
  
  <p>I don't see any reason for it.  Can you please explain what could be the reason for it?</p>