what is bitwise operator?

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


Please Help Members By Posting Answers For Below Questions

Which is better oop or procedural?

644


Why pointers are used in c?

600


Explain the array representation of a binary tree in C.

742


What is the difference between break and continue?

617


Which programming language is best for getting job 2020?

621






Difference between constant pointer and pointer to a constant.

631


What is the difference between Printf(..) and sprint(...) ?

801


What is "Hungarian Notation"?

647


Disadvantages of C language.

672


Define Spanning-Tree Protocol (STP)

665


What is the -> in c?

596


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.

1397


What are enumerated types?

665


What is the meaning of ?

642


Explain what are compound statements?

616