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
What is extern keyword in c?
What is getch c?
Explain what is meant by high-order and low-order bytes?
Explain how do you declare an array that will hold more than 64kb of data?
Is c is a middle level language?
What are the parts of c program?
What do you understand by normalization of pointers?
Explain 'far' and 'near' pointers in c.
Is file a keyword in c?
What are compound statements?
Tell us the use of fflush() function in c language?
Explain a file operation in C with an example.
How do I determine whether a character is numeric, alphabetic, and so on?
Tell me the use of bit field in c language?
What is the role of && operator in a program code?