38. Bitwise Rotation and Counting-I

Question.3

A 32-bit hardware status register holds 0x0000000F. A developer rotates it right by 4 bits:

uint32_t result = (reg >> 4) | (reg << 28);

What is the value of result?

Need Help? Refer to the Quick Guide below

Select Answer