what is bitwise operators?
Answers
Answered by
2
A bitwise operator is an operator used to perform bitwiseoperations on bit patterns or binary numerals that involve the manipulation of individual bits. Bitwise operators are used in: Communication stacks where the individual bits in the header attached to the data signify important information
Answered by
1
Bitwise operators are used to manipulate one or more bits from integral operands like char, int, short, long.
There are 6 types of bitwise operators :
1. Bitwise AND ( &)
2. Bitwise OR (|)
3. Bitwise XOR (^)
4. Bitwise complement (~)
5. Bitwise left shift (<<)
6. Bitwise right shift (>>)
Hope this helps!
There are 6 types of bitwise operators :
1. Bitwise AND ( &)
2. Bitwise OR (|)
3. Bitwise XOR (^)
4. Bitwise complement (~)
5. Bitwise left shift (<<)
6. Bitwise right shift (>>)
Hope this helps!
Similar questions