No discussion yet
Be the first to start the discussion.
Select Answer
Nothing — it correctly clears bits 2–4
The shift should be 3, not 2
The ~ operator is unnecessary for clearing
~
The mask 0x0F is 4 bits wide but the field is only 3 bits — bit 5 is also cleared
0x0F