Multiple choice

What is the output of the given C program?

int main()
{
int i = 1048576>>8>>3>>8>>3;
switch(1 + i++ - 1) // Line 1
{
case 0 : printf("\\n%d",1024<<8<<3>>8>>3);
case -1 : printf("\\n%d",1024<<2>>3<<2);
default : break;
case 1 : printf("\\n%d",1024<<3<<8>>3>>3);
}
return 0;
}

  1. 32768

  2. 10242048

  3. 2048

  4. No output

  5. Error at Line 1

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

This is the correct answer.