what is bitwise operator?



what is bitwise operator?..

Answer / 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

More C Interview Questions

WAP to find that given no is small or capital

3 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

0 Answers  


How do you write a program which produces its own source code as its output?

4 Answers  


What do you mean by c what are the main characteristics of c language?

0 Answers  






What are c identifiers?

0 Answers  


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


What is difference between %d and %i in c?

0 Answers  


How will you delete a node in DLL?

0 Answers   GrapeCity,


What are the Advantages of using macro

0 Answers  


Which type of language is c?

0 Answers  


When should the register modifier be used? Does it really help?

0 Answers  


Categories