re: Bitwise Operators VIEW POST


Thanks for this tutorial,
it makes me think of one interview question I like to ask to candidates:

  • Write a function that counts the number of bits equal to 1 in a word (let's say a 32 bit words).

It makes use of all the knowledge you just describe.


Yep! I could totally see how that would apply! Awesome 😁

code of conduct - report abuse