Define the Bitwise Operators in c language?
C has distinction of supporting special operators that known as bit wise operators for manipulation of data at bit level. These operators are meant to use for testing the bits or shifting from left to right. Bitwise operators mayn't be applied to float and double.
Bitwise Operators
|
Logical Operators
|
(unary) bitwise complement
|
~
|
|
Bitwise 'and'
|
&
|
Bitwise 'exclusive or'
|
^
|
Bitwise 'inclusive or'
|
|
|
Shift Operators
|
Left Shift
|
<<
|
|
Right Shift
|
>>
|