Top

Discussion

Assunming, integer is 2 byte, What will be the output of the program?

#include

int main()
{
    printf("%x\n", -1>>1);
    return 0;
}

 

  • A.ffff
  • B.0fff
  • C.0000
  • D.fff0

Answer: A

No answer description available for this question.
 

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

Post your comment