Write code to clear nth bit in an integer.
number = number & ~(1 << n); where n starts from 0
There are currently 1 users browsing this thread. (0 members and 1 guests)
Forum Rules
Bookmarks