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

How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.

1 Answers  


What are the back slash character constants or escape sequence charactersavailable in c?

0 Answers  


What are the types of bitwise operator?

0 Answers  


What is the use of getchar functions?

0 Answers  


What are preprocessor directives in c?

0 Answers  






how to write hello word without using semicolon at the end?

6 Answers   Accenture,


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

0 Answers  


void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?

1 Answers  


What is the use of header files?

0 Answers  


where do we use volatile keyword?

1 Answers  


What is the value of uninitialized variable in c?

0 Answers  


how do we remove the printed character in printf statement and write next it it

1 Answers  


Categories