Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

In scanf h is used for

4 Answers   BFL,

What is wrong in this statement? scanf(“%d”,whatnumber);

0 Answers  

who is the father of c

4 Answers   Infosys,

How does placing some code lines between the comment symbol help in debugging the code?

0 Answers  

what is function pointer?

2 Answers   Wipro,

What is the sizeof () operator?

0 Answers  

What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

0 Answers   IBM,

What is the difference between call by value and call by reference in c?

0 Answers  

how to convert binary to decimal and decimal to binary in C lanaguage

7 Answers   BPO, Far East Promotions, IBM, RBS,

When should structures be passed by values or by references?

0 Answers   Adobe,

You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

0 Answers  

Is file a keyword in c?

0 Answers