IT Log

Record various IT issues and difficulties.

Tag: bit manipulation


  • In C, what does the tilde symbol mean

    In C, the tilde symbol ~ represents the bitwise NOT operator. This operator performs a bitwise inversion of all the bits in an integer. Explanation: Bitwise Operations: The ~ operator is part of the set of bitwise operators in C, which operate on individual bits within an integer. Functionality: When applied to an integer, ~…