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
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What are the benefits of c language?
What is C language ?
What is a stream?
What is typedef?
When a c file is executed there are many files that are automatically opened what are they files?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Mention four important string handling functions in c languages .
Write a program to implement queue.
Why do we use & in c?
Difference between macros and inline functions? Can a function be forced as inline?
given post order,in order construct the corresponding binary tree
Is main a keyword in c?
What are identifiers c?