How does the bitwise complement operator (~ tilde) work? May 29, 2022 by IT Nursery Why is it that ~2 is equal to -3? How does ~ operator work? 18 Answers 18