Bitwise Operator C Stack Overflow