Theory
Number comprises of bits on these bits we operate.
Program Code
Input
Enter 2 Numbers 2 4
Output
Bitwise AND Operation Result is 0
Bitwise OR Operation Result is 6
The Result after Bitwise not Operation Result is -3
Bitwise LeftShift Operation Result is 4
Bitwise RightShift Operation Result is 1