If you have any query feel free to chat us!
Happy Coding! Happy Learning!
In C, bitwise operators are used to perform operations on individual bits of a number. The three main bitwise operators are:
Example: 5 & 3; // results in 1
Example: 5 | 3; // results in 7
Example: 5 ^ 3; // results in 6
It is important to note that bitwise operators can be used with both integers and characters in C.
Comments: 0