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
Which is better oop or procedural?
Why pointers are used in c?
Explain the array representation of a binary tree in C.
What is the difference between break and continue?
Which programming language is best for getting job 2020?
Difference between constant pointer and pointer to a constant.
What is the difference between Printf(..) and sprint(...) ?
What is "Hungarian Notation"?
Disadvantages of C language.
Define Spanning-Tree Protocol (STP)
What is the -> in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What are enumerated types?
What is the meaning of ?
Explain what are compound statements?