Does ~0 mean its flipping 000000000 to 1111111111?
printf(\"Check: %i\", ~0);
The printf results to -1, which is why I am confused. <
It is due to the mathematical operation "two's complement". A nice video tutorial of two's complement can be found on youtube. Here's one of them :)
youtube link