title: Switch case with logical operator in C
body: <p>I am new to C and need help. My code is the following.</p>
  
  <pre><code> #include&lt;stdio.h&gt;  
   #include&lt;conio.h&gt;  
   void main()
   {
  
    int suite=2;  
  
    switch(suite)
       {           
        case 1||2:
        printf("hi");
  
        case 3:
        printf("byee");
  
        default:
        printf("hello");
       }
  
    printf("I thought somebody");
    getche();
    }
  </code></pre>
  
  <p>I am working in Turbo C and the output is <code>helloI thought somebody</code>. There's no error message.</p>
  
  <p>Please, let me know how this is working.</p>