Question PSC-BIT-0055
MediumWhat will be the output of the following pseudocode?
Integer n = 37
if ((n >> 3) & 1)
Print "bit 3 set"
else
Print "bit 3 clear"
end if
- A.
bit 3 clear
- B.
bit 3 set
- C.
Sign up free to see the answer and a step-by-step explanation.