1.

Which of these expressions will make the rightmost set bit zero in an input integer x?

A. x = x | (x-1)
B. x = x & (x-1)
C. x = x | (x+1)
D. x = x & (x+2)
Answer» D. x = x & (x+2)


Discussion

No Comment Found