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
The tilde character is used as an operator to invert all bits of an integer (bitwise NOT).
For example: ~0x0044 = 0xFFBB.
~0x0044 = 0xFFBB