Computer Science, asked by yashwanth6555, 10 months ago

explain bitwise operator in c program​

Answers

Answered by Anonymous
2

Explanation:

In arithmetic-logic unit (which is within the CPU), mathematical operations like: addition, subtraction, multiplication and division are done in bit-level. To perform bit-level operations in C programming, bitwise operators are used.

Operators Meaning of operators

& Bitwise AND

| Bitwise OR

^ Bitwise XOR

~ Bitwise complement

<< Shift left

>> Shift right

Answered by rockasit
1

Answer:

Bitwise Operators in C/C++ ... | (bitwise OR) Takes two numbers as operands and does OR on every bit of two numbers. The result of OR is 1 if any of the two bits is 1. ^ (bitwise XOR) Takes two numbers as operands and does XOR on every bit of two numbers.

please mark it as brainliest ANS

Similar questions