This post contains some c++ programs showing the use of bitwise operators like OR, XOR, AND, LEFT SHIFT and RIGHT SHIFT.
CPP-147: A C++ program to show the use of Bitwise operator (|) OR.
CPP-148: A C++ program to show the use of Bitwise operator (&) AND.
CPP-149: A C++ program to show the use of Bitwise operator (^) XOR.
CPP-150: A C++ program to show the use of Bitwise operator (<<) LEFT SHIFT.
CPP-151: A C++ program to show the use of Bitwise operator (>>) RIGHT SHIFT.