Tag Archives: bitwise NOT

Bitwise Operators – Free Guide

I have an exciting new eGuide available. Most of this info is available in various places on my site, but I’ve collated it all together in one document, and updated it, so it’s easier for you to use. What does it cover? It’s a no-jargon guide to the four bitwise operators in C (AND, OR, […]

Bitwise NOT

Well, we’re now onto the final of the four bitwise operators – bitwise NOT – probably the most simple of the four to understand. Bitwise NOT is represented by the tilde symbol, ~, and only takes one operand. Can I see an example? ~125 = 130 What is this actually doing? Bitwise NOT essentially flips […]