Concept Flow - Bitwise NOT
Start with integer value
Apply bitwise NOT (~) operator
Flip each bit: 0->1, 1->0
Result is new integer with flipped bits
Use or print the result
End
The bitwise NOT operator flips every bit of an integer, turning 0s into 1s and 1s into 0s, producing a new integer.