15. Bitwise Operations-II

Question.2

A sensor status register is 8 bits wide. Bits 4–6 contain a 3-bit error code (0–7). The rest of the register holds other flags. Which expression correctly extracts only the error code?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!