Programming Question

Question: Explain what the following code does: ((n & (n-1)) == 0)

From: Cracking the Coding Interview [McDowell]

Subject: Bit Manipulation

Load Another Question


Select a Subject