Turn off the rightmost set bit
In this blog post, I will teach you how to write C/C++ program to turn off the rightmost set bit. After reading this post you able to write an efficient program to turn off the rightmost set bit. Example, Input : n = 9 Here’s a simple ASCII representation of 9 (an 8-bit integer): 7 […]
Turn off the rightmost set bit Read More »