Question PSC-BIT-0046
MediumWhat will be the output of the following pseudocode?
Integer n = 64
if (n > 0 and (n & (n - 1)) == 0)
Print "power of two"
else
Print "not"
end if
- A.
64
- B.
power of two
- C.
Sign up free to see the answer and a step-by-step explanation.