Answer Posted / harish
An operator that manipulates individual bits. The operators that we are are familiar with, such as the addition operator (+),multiplication (*),division (/) etc ... work with bytes or groups of bytes. Occasionally, however, programmers need to manipulate the bits within a byte. The C programming language supports the following bitwise operators:
>> Shifts bits right
<< Shifts bits left
& Does an AND compare on two groups of bits
| Does an OR compare on two groups of bits
^ Does an XOR compare on two groups of bits
~ Complements a group of bits
and lots more.....
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is fortran still used in 2018?
What is function prototype in c with example?
What is hashing in c language?
What is the use of the function in c?
Do you know the purpose of 'register' keyword?
What does the error 'Null Pointer Assignment' mean and what causes this error?
How do I determine whether a character is numeric, alphabetic, and so on?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Tell us two differences between new () and malloc ()?
What is the c language function prototype?
What does main () mean in c?
How do we declare variables in c?
What is the difference between pure virtual function and virtual function?
What is use of #include in c?
How does free() know explain how much memory to release?