Top

Discussion

What is the correct and fully portable way to obtain the most significant byte of an unsigned integer x?

  • A.x & 0xFF00
  • B.x > > 24
  • C.x > > ( CHAR_BIT * (sizeof(int) - 3))
  • D.x > > ( CHAR_BIT * (sizeof(int) - 1))

Answer: D

No answer description available for this question.

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

Post your comment