C Programs / Bitwise operators C program

Program Name

Write a C Program for Bitwise operators.
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
Online C Compiler (To copy paste and Run the c program)


Home     Back