title: Default case in a switch condition
body: <p>I have this code:</p>
  
  <pre><code>  #include&lt;stdio.h&gt;                                   
    int main()
    {   
        int a=10;
        switch(a)
        {   
        case '1':
            printf("ONE\n");
            break;
        case '2':
            printf("TWO\n");
            break;
        defalut:
            printf("NONE\n");
        }   
        return 0;
    }
  </code></pre>
  
  <p>The program doesn't print anything, not even <code>NONE</code>. I figured out that <code>default</code> had a typo <code>defalut</code>!<br>
  I want to know why this syntax error is not detected by the compiler.</p>