Top

Discussion

What will be the output of the program?

#include

int main()
{
    printf("%d >> %d %d >> %d\n", 4 >> 1, 8 >> 1);
    return 0;
}

 

  • A.4 1 8 1
  • B.4 >> 1 8 >> 1
  • C.2 >> 4 Garbage value >> Garbage value
  • D.2 4

Answer: C

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment