Complement operator

Complement operator ( ~ )
Gives the one's complement of a number, i.e., reverses every bit within the number, so that every 1 bit becomes a 0 and vice versa.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal