Question PSC-BIT-0018
HardWhat will be the output of the following pseudocode?
Integer n = 64
if (n > 0 AND (n & (n - 1)) == 0)
Print "Yes"
else
Print "No"
end if
- A.
0
- B.
64
- C.
Yes
- D.
No
Sign up free to see the answer and a step-by-step explanation.