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 the purpose of scanf() and printf() functions?
What is break statement?
What is zero based addressing?
In which header file is the null macro defined?
write a c program for swapping two strings using pointer
What does c mean in standard form?
How can type-insensitive macros be created?
Is it valid to address one element beyond the end of an array?
write a program to concatenation the string using switch case?
What is the difference between struct and union in C?
Who invented bcpl language?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Compare and contrast compilers from interpreters.
What are nested functions in c?
What are extern variables in c?