Multiple choice

What is the output of the given C code?

void ret(int a, int b)
{
double res = pow(a,b);
printf("\\n%lf",res);
}
int main()
{
int i = (1048576>>8>>3>>4>>3);
int y = 1024>>4>>3;
ret(i,y);
printf("\\n%d",i^y);
return 0;
}

  1. 65536.0 12

  2. 65536.0 16

  3. 25536.012

  4. 25536.011

  5. Compiler error

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

The correct output is 65536.0 12.