Mental Model
We change one specific bit in a number to 1, 0, or flip it without affecting other bits.
Analogy: Imagine a row of light switches where each switch controls one light. Setting a bit is like turning a switch on, clearing is turning it off, and toggling is flipping its current state.
Bits: 7 6 5 4 3 2 1 0 Value: 0 0 1 0 1 0 0 1 Index: ↑ Operation: change bit at index 3
