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 |
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.
What are the back slash character constants or escape sequence charactersavailable in c?
What are the types of bitwise operator?
What is the use of getchar functions?
What are preprocessor directives in c?
how to write hello word without using semicolon at the end?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
What is the use of header files?
where do we use volatile keyword?
What is the value of uninitialized variable in c?
how do we remove the printed character in printf statement and write next it it