Multiple choice

What is the output of the given C program?

int main()
{
int i = 1024<<8<<3>>8>>3;
switch(i)
{
default : break;
case 1048576/(34*32) : printf("Case 1");
case 1073741824/(2*32*4*32*16*8*2) : printf("Case 2");
case 1048576/(32*30*4) : printf("Case 3");
}
return 0;
}

  1. Case 1 Case 2 Case 3

  2. Case 2 Case 3

  3. Case 3

  4. No output

  5. Compiler error

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is correct. No output will be printed on the screen.