$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #81

Fill in the constant.

x & (x - ____)  # clears the lowest set bit

Answer: 1 (also accepted: 1)

x & (x-1) removes the rightmost 1 bit.
Play Problem Solving ▸