Quote Originally Posted by rstanley View Post
If you are attempting to learn from painfully inadequate online tutorials, YouTube videos, or some book claiming to teach you in a short time, then THROW THEM AWAY!

Short of taking a course in C Programming from a qualified instructor, you need to study a good book on the C Programming Language, cover to cover, and do all the exercises at the end of each chapter! This would give you all the information on bitwise operators, and more.
I know right, can you believe the cheek of the OP? He probably watches TV shows in colour as well.