Multiple choice

What is the output of the given code?

int main()
 {
 printf("%d\\n",pow(128>>3>>2>>1,3));
 }

  1. 16

  2. 8

  3. 0

  4. 4

  5. Compiler error

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

This is the correct answer because we have used %d access specifier in printf() function that is used to print the integer values, but pow() function returns a double value. So, we have to use %lf to print the original value. Zero will get printed on the screen.