I\'ve seen the tilde operator used in the ELF hashing algorithm, and I\'m curious what it does. (The code is from Eternally Confused.)
unsigned elf_hash ( vo
This is the bitwise NOT operator. It flips all the bits in a number: 100110 -> 011001